append_nonmem_var: Include NONMEM variables in output table

View source: R/covariate-explore.R

append_nonmem_varR Documentation

Include NONMEM variables in output table

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

append_nonmem_var(output_table, r, var)

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.


tsahota/NMproject documentation built on Oct. 1, 2022, 11:51 a.m.