zero_re | R Documentation |
Sets all elements of the OMEGA or SIGMA matrix to zero.
zero_re(.x, ...)
## S4 method for signature 'mrgmod'
zero_re(.x, ...)
.x |
a model object. |
... |
which matrix to zero out; pass |
An updated object with elements of OMEGA and/or SIGMA set to zero.
mod <- house()
revar(mod)
mod <- zero_re(mod)
revar(mod)
## Not run:
mod <- modlib("popex", compile = FALSE)
mod <- zero_re(mod, omega)
revar(mod)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.