powered by
Method for creating dsp specification object prior to fitting.
Method for printing basic information about the model specification
dsp_spec(family, model, ...)# S3 method for dsp_spec print(x, ...)
# S3 method for dsp_spec print(x, ...)
A list containing the model specification.
A character string specifying the model family. Must be one of:
"gaussian": Gaussian family.
"negbinom": Negative binomial family.
A character string specifying the model type:
family = "gaussian":
family
"changepoint": Change point detection with Adaptive Bayesian Changepoint analysis and local Outlier (ABCO),
"smoothing": Bayesian smoothing,
"regression": Time-varying regression,
"bspline": Bayesian smoothing with B-spline for irregularly spaced or functional time-series.
family = "negbinom":
"smoothing": Bayesian smoothing.
currently not used
object of class dsp_spec from dsp_spec()
dsp_spec()
model_spec <- dsp_spec(family = "gaussian", model = "changepoint") print(model_spec)
Run the code above in your browser using DataLab