Hi,

I have a data frame, data, containing two columns: one- the TimeStamp (formatted using data$TimeStamp <- as.POSTIXct(as.character(data$TimeStamp), format = "%d/%m/%Y %H:%M") ) and two- the data value.

The data frame has been read from a .csv file and should contain 48 values for each day of the year (values sampled at 30 minute intervals). However, there are only 15,948 observations i.e. only approx 332 days worth of data. I therefore would like to remove any days that do not contain the 48 values.

My question, how would I go about doing this?

Many thanks,

-A.

______________________________________________
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.

Reply via email to