get.theta.npar: Calculate number of Thetas

View source: R/npar.R

get.theta.nparR Documentation

Calculate number of Thetas

Description

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

Usage

get.theta.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.theta

Value

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



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