get_number_of_observations_per_individual function

get_number_of_observations_per_individual

get_number_of_observations_per_individual

Number of observations for each individual

get_number_of_observations_per_individual(model)

Arguments

  • model: (Model) Pharmpy model

Returns

(data.frame) Number of observations in the model dataset

Note

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

Examples

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

See Also

get_number_of_individuals : Get the number of individuals in a dataset

get_number_of_observations_per_individual : Get the number of observations per individual in a

dataset

  • Maintainer: Rikard Nordgren
  • License: LGPL (>= 3)
  • Last published: 2024-12-04

Downloads (last 30 days):