evaluate_population_prediction {pharmr}R Documentation

evaluate_population_prediction

Description

Evaluate the numeric population prediction

The prediction is evaluated at the current model parameter values or optionally at the given parameter values. The evaluation is done for each data record in the model dataset or optionally using the dataset argument.

This function currently only support models without ODE systems

Usage

evaluate_population_prediction(model, parameters = NULL, dataset = NULL)

Arguments

model

(Model) Pharmpy model

parameters

(list(str=numeric) (optional)) Optional list of parameters and values

dataset

(data.frame (optional)) Optional dataset

Value

(data.frame) Population predictions

See Also

evaluate_individual_prediction : Evaluate the individual prediction

Examples

## Not run: 
model <- load_example_model("pheno_linear")
results <- load_example_modelfit_results("pheno_linear")
pe <- results$parameter_estimates
evaluate_population_prediction(model, parameters=list(pe))

## End(Not run)

[Package pharmr version 0.96.0 Index]