Thanks, Stefan. I'm sure the difference between ts() and as.ts() seemed simple to everyone on the list, but I'd been staring at the help files for a long time and never made the connection. ts's make more sense now.
Nick Frazier On Sat, Jul 3, 2010 at 8:10 AM, Stefan Grosse <singularit...@gmx.net> wrote: > Am 03.07.2010 13:55, schrieb Nicholas R Frazier: > > I'm trying to convert a column of a table into a ts object. The data is > > monthly, so I want the ts frequency to be 12. > > > > I did this ... > > > >> filings.ts = as.ts(Filings.100K, frequency=12) > > try: > > filings.ts <- ts(Filings.100K, frequency=12) > > example: > test<-runif(312) > test.ts<-ts(test, frequency=12) > tsp(test.ts) > plot(test.ts) > > Oh I am late, Achim was faster... > > Cheers > Stefan > [[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.