R Programming Time Series Decompose Failing -


i trying decompose stock data downloaded yahoo finance see various components seasonality, trend... getting error time series has no or less 2 periods

below code using, please help:

require(quantmod) getsymbols("ibm", from="2013-01-02", to="2014-12-31") ibm = subset(ibm,select=c("ibm.adjusted")) write.table(ibm,"ibm.txt",row.names=f,sep="\t") ibm2<-read.table("ibm.txt",header=t,sep="\t") ibmtimeseries <- ts(ibm2,                       frequency=365,                       start=c(2013,1))  ibmtimeseriescomponents <-    decompose(ibmtimeseries)  ibmtimeseriescomponents <-   decompose(ibmtimeseries) 

error in decompose(googtimeseries) : time series has no or less 2 periods


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -