Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

zero_re

Zero out random effects in a model object


Description

Sets all elements of the OMEGA or SIGMA matrix to zero

Usage

zero_re(.x, ...)

## S4 method for signature 'mrgmod'
zero_re(.x, ...)

Arguments

.x

a model object

...

which matrix to zero out; pass omega to just zero out omega, sigma to just zero out sigma; passing nothing will zero out both

Value

An updated object.

Examples

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)

mrgsolve

Simulate from ODE-Based Models

v0.11.1
GPL (>= 2)
Authors
Kyle T Baron [aut, cre] (<https://orcid.org/0000-0001-7252-5656>), Bill Gillespie [ctb], Charles Margossian [ctb], Devin Pastoor [ctb], Bill Denney [ctb] (<https://orcid.org/0000-0002-5759-428X>), Dilawar Singh [ctb], Felicien Le Louedec [ctb] (<https://orcid.org/0000-0003-3699-2729>), Timothy Waterhouse [ctb] (<https://orcid.org/0000-0002-0954-9660>), Metrum Research Group [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.