R commands to explore time series data …

R commands to explore time series data

ts(data) # create time series objects
time( # returns the time

diff(, lag=1) # difference at the specified lag
lag.plot(, 9, do.lines=FALSE) # plot with specified lags

plot(stl(, “per”)) # decomposition of time series data

spec.pgram(, spans=c(3,3), log=”no”) # non-parametric spectral analysis, spans=c(3,3), log=”no”) # parametric estimation

By microbe

Like to cook for microorganisms and human. Play football, tennis, and baseball.

Leave a Reply

Your email address will not be published. Required fields are marked *