linear(x, m, d=1, steps=d, series, include = c( "const", "trend","none", "both"), type=c("level", "diff", "ADF"))
nlar
object, linear
subclass.nlar
for fitting this and other models to time series data#fit an AR(2) model
mod.linear <- linear(log(lynx), m=2)
mod.linear
summary(mod.linear)
Run the code above in your browser using DataLab