[R] time series

From: stephen sefick <ssefick_at_gmail.com>
Date: Tue, 4 Dec 2007 12:17:59 -0500


I am trying to work with a time series of one observation every fifteen minutes for a length of two years. My question really lies in how to code the timeseries to represent every observation is a fifteen minute interval. Below is the code that I used any help would be appreciated.

> x<-read.table("doconc.txt", header=TRUE)
> x<-ts(x[,1], start=0, frequency=1/15)
> plot(stl(x, s.window="periodic"))

Error in stl(x, s.window = "periodic") : series is not periodic or has less than two periods

Thanks

Stephen

-- 
Let's not spend our time and resources thinking about things that are so
little or so large that all they really do for us is puff us up and make us
feel like gods.  We are mammals, and have not exhausted the annoying little
problems of being mammals.

-K. Mullis

	[[alternative HTML version deleted]]

______________________________________________
R-help_at_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.
Received on Tue 04 Dec 2007 - 17:23:34 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 04 Dec 2007 - 17:30:18 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.