Re: [R] missing values in autocorelation

2010-05-31 Thread Joris Meys
Could you specify the problem and give a minimal example that represents
your datastructure and reproduces the error? See also the posting guides :
http://www.R-project.org/posting-guide.html

Cheers
Joris

On Mon, May 31, 2010 at 1:12 PM, nuncio m  wrote:

> Hi all,
> I am trying to find the autocorrelation of some time series.  I
> have say 100 files, some files have only missing values(-99.99, say). I
> dont
> want to exclude these files as they represent some points in a grid.  But
> when the acf command is issued i get an error.
> Error in plot.window(...) : need finite 'ylim' values
> In addition: Warning messages:
> 1: In min(x) : no non-missing arguments to min; returning Inf
> 2: In max(x) : no non-missing arguments to max; returning -Inf
>
> Is this because of all the values in the time series is the same, if so How
> can I specify a bad value when the acf command is issued.  Also is it
> possible to return a flag(like, -999) of length the maximum lag for acf of
> bad grid points so that I can keep the number of files same for input and
> output
>
> Thanks
> nuncio
>
> --
> Nuncio.M
> Research Scientist
> National Center for Antarctic and Ocean research
> Head land Sada
> Vasco da Gamma
> Goa-403804
>
>[[alternative HTML version deleted]]
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Joris Meys
Statistical Consultant

Ghent University
Faculty of Bioscience Engineering
Department of Applied mathematics, biometrics and process control

Coupure Links 653
B-9000 Gent

tel : +32 9 264 59 87
joris.m...@ugent.be
---
Disclaimer : http://helpdesk.ugent.be/e-maildisclaimer.php

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] missing values in autocorelation

2010-05-31 Thread nuncio m
Hi all,
 I am trying to find the autocorrelation of some time series.  I
have say 100 files, some files have only missing values(-99.99, say). I dont
want to exclude these files as they represent some points in a grid.  But
when the acf command is issued i get an error.
Error in plot.window(...) : need finite 'ylim' values
In addition: Warning messages:
1: In min(x) : no non-missing arguments to min; returning Inf
2: In max(x) : no non-missing arguments to max; returning -Inf

Is this because of all the values in the time series is the same, if so How
can I specify a bad value when the acf command is issued.  Also is it
possible to return a flag(like, -999) of length the maximum lag for acf of
bad grid points so that I can keep the number of files same for input and
output

Thanks
nuncio

-- 
Nuncio.M
Research Scientist
National Center for Antarctic and Ocean research
Head land Sada
Vasco da Gamma
Goa-403804

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.