Learn R Programming

xpose.xtras (version 0.1.2)

nlmixr2_prm_associations: Based on associations baked into nlmixr2, automatically add to xpose data

Description

This function attempts to discern the associations between omegas and thetas using information about mu referencing within the nlmixr2 fit object.

Usage

nlmixr2_prm_associations(xpdb, dry_run = FALSE, quiet)

Value

Object with filled par

Arguments

xpdb

<xp_xtras> object

dry_run

<logical> Return a resulting information to compare against.

quiet

<logical> Include extra information

Details

Back-transformations are not as relevant here as they may seem. Manual back-transformation with backTransform() only affects the display of the back-transformed theta estimate (and CI), but does not impact the relationship between EBEs and individual parameter estimates.

See Also

rxode2::ini()

Examples

Run this code
if (FALSE) {
nlmixr2_warfarin %>%
  # This will add all log-normal and the logitnormal params
  nlmixr2_prm_associations() %>%
  # Make sure theta is in normal scale
  # rxode::expit could be plogis in this case
  mutate_prm(temax~rxode2::expit) %>%
  # Review results
  get_prm()

}


Run the code above in your browser using DataLab