[R] Change the frequency of a ts?
    Stefan Grosse 
    singularitaet at gmx.net
       
    Sat Jul  3 14:10:57 CEST 2010
    
    
  
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
    
    
More information about the R-help
mailing list