Learn R Programming

kDGLM (version 1.2.0)

specify.dlm_block: 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 dlm_block
specify(x, ...)

Value

The initual block, but with the undefined parameters set to the chosen values.

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.

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

Run this code

season <- harmonic_block(rate = 1, period = 12, D = "D.sazo") |>
  specify(D.sazo = 0.975)

Run the code above in your browser using DataLab