Learn R Programming

pharmr (version 0.96.0)

summarize_modelfit_results: summarize_modelfit_results

Description

Summarize results of model runs

Summarize different results after fitting a model, includes runtime, ofv, and parameter estimates (with errors). If include_all_estimation_steps is FALSE, only the last estimation step will be included (note that in that case, the minimization_successful value will be referring to the last estimation step, if last step is evaluation it will go backwards until it finds an estimation step that wasn't an evaluation).

Usage

summarize_modelfit_results(results, include_all_estimation_steps = FALSE)

Value

(data.frame) A DataFrame of modelfit results with model name and estmation step as index.

Arguments

results

(ModelfitResults or array(ModelfitResults)) List of ModelfitResults or single ModelfitResults

include_all_estimation_steps

(logical) Whether to include all estimation steps, default is FALSE

Examples

Run this code
if (FALSE) {
model <- load_example_model("pheno")
summarize_modelfit_results(model$modelfit_results)
}

Run the code above in your browser using DataLab