Skip to contents

An auxiliary function to replicate blocks.

Usage

block_mult(block, k)

Arguments

block

dlm_block: A block to be replicated

k

Integer: The number of blocks to generate.

Value

The combined replicated blocks as a dlm_block.

See also

Examples

# Long way
level <- polynomial_block(alpha = 1, order = 1)

final.block <- block_mult(level, 5)

# Short way
final.block <- 5 * polynomial_block(alpha = 1, order = 1)