View source: R/diag_constants.R
| derive_prm | R Documentation |
This function applies rxode2::rxDerived to model parameters.
derive_prm(
xpdb,
.prm = NULL,
.problem,
quiet = xpdb$options$quiet,
prefix = ""
)
backfill_derived(
xpdb,
.prm = NULL,
.problem,
quiet = xpdb$options$quiet,
...,
group_vars = "id"
)
xpdb |
xpdb < |
.prm |
< |
.problem |
Optional. Problem to use. |
quiet |
Optional. Extra output. |
prefix |
If desired, apply prefix to new parameters. |
... |
Passed to |
group_vars |
Variable type(s) to join derived parameters on. |
<data.frame> of data with new parameters
if (!rlang::is_installed("rxode2") ||
!exists("rxDerived", envir = rlang::ns_env("rxode2"))) {
nlmixr2_m3 %>%
backfill_derived() %>%
list_vars()
derive_prm(nlmixr2_m3)
# If param has no vars, .prm should be set
pheno_base %>%
backfill_derived(
.prm = c(CL,V)
) %>%
list_vars()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.