xpose_data_nlmixr: Import nlmixr output into xpose

View source: R/xpose_data_nlmixr.R

xpose_data_nlmixrR Documentation

Import nlmixr output into xpose

Description

Convert 'nlmixr' model output into an 'xpose' database.

Usage

xpose_data_nlmixr(
  obj = NULL,
  pred = NULL,
  wres = NULL,
  gg_theme = theme_readable(),
  xp_theme = theme_xp_default(),
  quiet,
  skip = NULL,
  ...
)

Arguments

obj

nlmixr fit object to be evaluated.

pred

Name of the population prediction variable to use for plotting. If unspecified, it will choose either "NPDE", "CWRES", and "RES" (in that order) if the column exists in the data.

wres

Name of the weighted residual variable to use for plotting. If unspecified, it will choose either "NPDE", "CWRES", and "RES" (in that order) if the column exists in the data.

gg_theme

A ggplot2 theme object.

xp_theme

An xpose theme or vector of modifications to the xpose theme (eg. c(point_color = 'red', line_linetype = 'dashed')).

quiet

Logical, if FALSE messages are printed to the console.

skip

Character vector be used to skip the import/generation of: 'data', 'files', 'summary' or any combination of the three.

...

Additional arguments to be passed to the read_delim functions.

Value

An xpose_data object suitable for use in 'xpose'.

Examples

xpdb <- xpose_data_nlmixr(obj = theo_sd_fit)


xpose.nlmixr documentation built on June 7, 2022, 1:10 a.m.