makeRandom: Create a control stream for simulation

View source: R/nm.create.control.r

makeRandomR Documentation

Create a control stream for simulation

Description

Parse random effects and construct new random effects statements

Usage

makeRandom(sw = "omega", ctl, ranEf)

Arguments

sw

either "omega" or "sigma" for IIV or residual random effects

ctl

character vector containing the current version of the NONMEM control stream

ranEf

vector with the estimated random effects. These are the estimates to be placed in the new control stream

Value

A control stream ready for execution written to file

Note

This function is only used by nm.create.control.

See Also

nm.create.control


qPharmetra/qpToolkit documentation built on May 24, 2023, 8:52 a.m.