specify.dlm_block {kDGLM} | R Documentation |
Specify method for dlm blocks
Description
Sets the values of undefined parameters in a block to those passed by the user.
Usage
## S3 method for class 'dlm_block'
specify(x, ...)
Arguments
x |
dlm_block: A undefined dlm_block object from which the undefined parameters shall be substituted. |
... |
A set of named values for each unknown parameter. |
Value
The initual block, but with the undefined parameters set to the chosen values.
See Also
Other auxiliary functions for structural blocks:
TF_block()
,
block_mult()
,
block_rename()
,
block_superpos()
,
harmonic_block()
,
intervention()
,
noise_block()
,
polynomial_block()
,
regression_block()
,
summary.dlm_block()
Examples
season <- harmonic_block(rate = 1, period = 12, D = "D.sazo") |>
specify(D.sazo = 0.975)
[Package kDGLM version 1.2.0 Index]