FF {dlm}R Documentation

Components of a dlm object

Description

Functions to get or set specific components of an object of class "dlm"

Usage

FF(x)
FF(x) <- value
V(x)
V(x) <- value
GG(x)
GG(x) <- value
W(x)
W(x) <- value
m0(x)
m0(x) <- value
C0(x)
C0(x) <- value

Arguments

x an object of class "dlm".
value a numeric matrix (or vector for m0).

Details

Missing values are not allowed in value. The dimension of value must match the dimension of the current value of the specific component in x

Value

For the assignment forms, the updated "dlm" object.
For the other forms, the specific component of x.

Author(s)

Giovanni Petris GPetris@uark.edu

See Also

dlm

Examples

set.seed(222)
mod <- dlmRandom(5, 6)
all.equal( FF(mod), mod$FF )
all.equal( V(mod), mod$V )
all.equal( GG(mod), mod$GG )
all.equal( W(mod), mod$W )
all.equal( m0(mod), mod$m0 )
all.equal( C0(mod), mod$C0)
m0(mod)
m0(mod) <- rnorm(6)
C0
C0(mod) <- rwishart(10, 6)

[Package dlm version 0.8-1 Index]