decomp(y, trend.order=2, ar.order=2, frequency=12,
seasonal.order=1, log=FALSE, trade=FALSE, diff=1,
year=1980, month=1, miss=0, omax=99999.9, plot=TRUE)log = TRUE).trade = TRUE).omax are treated as missing data
< 0 : values which are less than omax are treated as missing data
}miss > 0 or miss < 0).trend, seasonal, ar and trad are plotted.tdf(i) (i=1,7).data(Blsallfood)
decomp(Blsallfood, trade=TRUE, year=1973)Run the code above in your browser using DataLab