append_nonmem_var: Include NONMEM variables in output table

Description Usage Arguments Value

View source: R/covariate-explore.R

Description

[Experimental]

This is designed to be used in situations where you don't want to rerun NONMEM, but need a variable defined in the control file. This will parse the $PK/'$PRED“ and compute it as an additional row in R. Safest way is to just rerun the model with the variable in $TABLE, but this is for those who are too time constrained. It is advisable to QC the output.

Usage

1

Arguments

output_table

Output from output_table().

r

An nm object.

var

Character. Name of variable to extract (needs to be defined in $PK/$PRED).

Value

A modified version of output_table with addition var column.


NMproject documentation built on Oct. 18, 2021, 1:08 a.m.