block_rename
Arguments
- block
A dlm_block object.
- pred.names
A vector of string with names for each linear predictor in block.
See also
Other auxiliary functions for structural blocks:
TF_block()
,
block_mult()
,
block_superpos()
,
harmonic_block()
,
intervention()
,
noise_block()
,
polynomial_block()
,
regression_block()
,
specify.dlm_block()
,
summary.dlm_block()
Examples
base.block <- polynomial_block(
eta = 1,
order = 1,
name = "Poly",
D = 0.95
)
final.block <- block_rename(2 * base.block, c("mu", "sigma"))