get.npar: Calculate Number of Parameters

View source: R/npar.R

get.nparR Documentation

Calculate Number of Parameters

Description

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

Usage

get.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 nm.params.table

Value

returns a vector with the number of estimated THETA, OMEGA and SIGMA 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.npar(models)
}
## End(Not run)


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