get.omega.npar: Calculate Number of Omegas

View source: R/npar.R

get.omega.nparR Documentation

Calculate Number of Omegas

Description

Calculates the number of OMEGA parameters that are estimated (and not fixed) in the NONMEM model file.

Usage

get.omega.npar(model, path = getOption("nmDir"), prefix = "run", ...)

Arguments

model

select the model run number (e.g. 1)

path

select the directory where the model file resides

prefix

text to precede run number in model name (default: 'run')

...

additional arguments passed to get.omega

Value

returns a vector with the number of estimated OMEGA parameters

Author(s)

Koen Jolling

Examples


## Not run: \donttest{
models = c(101,102,104:109,111,115, 141:145, 147:149, 151, 153:156)
get.omega.npar(models)
}
## End(Not run)


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