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

______________________________________________
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