powered by
Smoothing (triangular) kernel that decreases one unit from the center.
bart(m)
Returns an object of class tskernel with the coefficients, the kernel dimension, and attribute "Bartlett".
tskernel
non-negative integer specifying the kernel width, which is 2m + 1. If m has length larger than one, the convolution of the kernel is returned.
2m + 1
m
D.S. Stoffer
Uses kernel from the stats package to construct a Bartlett (triangular) kernel of width 2m + 1; see help(kernel) for further details.
kernel
stats
help(kernel)
You can find demonstrations of astsa capabilities at FUN WITH ASTSA.
The most recent version of the package can be found at https://github.com/nickpoison/astsa/.
In addition, the News and ChangeLog files are at https://github.com/nickpoison/astsa/blob/master/NEWS.md.
The webpages for the texts and some help on using R for time series analysis can be found at https://nickpoison.github.io/.
bart(4) # for a list plot(bart(4), ylim=c(.01,.21)) # for a graph
Run the code above in your browser using DataLab