View source: R/SpecPrior-generators.R
Trend | R Documentation |
Specify the prior for the initial values, and the prior for the standard
deviation of the innovations in a DLM
prior.
Trend(initial = Initial(), scale = HalfT())
initial |
An object of class |
scale |
An object of class |
An object of class Trend
Trend
is usually called as part of a call to
function DLM
.
Trend()
Trend(initial = Initial(mean = 0.05, sd = 0.1),
scale = HalfT(scale = 0.5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.