FF {dlm} | R Documentation |
Functions to get or set specific components of an object of class "dlm"
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
x |
an object of class "dlm" . |
value |
a numeric matrix (or vector for m0 ). |
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
For the assignment forms, the updated "dlm"
object.
For the other forms, the specific component of x
.
Giovanni Petris GPetris@uark.edu
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)