get_number_of_individuals {pharmr}R Documentation

get_number_of_individuals

Description

Retrieve the number of individuals in the model dataset

Usage

get_number_of_individuals(model)

Arguments

model

(Model) Pharmpy model

Value

(integer) Number of individuals in the model dataset

Note

For NONMEM models this is the number of individuals of the active dataset, i.e. after filteringof IGNORE and ACCEPT and removal of individuals with no observations.

See Also

get_number_of_observations : Get the number of observations in a dataset

get_number_of_observations_per_individual : Get the number of observations per individual in a

dataset

Examples

## Not run: 
model <- load_example_model("pheno")
get_number_of_individuals(model)

## End(Not run)

[Package pharmr version 1.0.1 Index]