On 13-Feb-2012 Durant, James T. (ATSDR/DTEM/PRMSB) wrote:
> Hi -
> I am trying to find and describe missing data in a time series.
> For instance, in the library openair, there is a data frame
> called "mydata":
> library(openair)
> head(mydata)
>
> date ws wd nox no2 o3 pm10so2 co
Not at a computer to test this but perhaps
rle(is.na(x))
might help.
Michael
On Feb 12, 2012, at 7:36 PM, "Durant, James T. (ATSDR/DTEM/PRMSB)"
wrote:
> Hi -
>
> I am trying to find and describe missing data in a time series. For instance,
> in the library openair, there is a data frame c
Hi -
I am trying to find and describe missing data in a time series. For instance,
in the library openair, there is a data frame called "mydata":
library(openair)
head(mydata)
date ws wd nox no2 o3 pm10so2 co pm25
1 1998-01-01 00:00:00 0.60 280 285 39 1 29 4.7225 3.3725 NA
3 matches
Mail list logo