Skip to contents

Gets parameter estimates from model run

Usage

get_parameters(
  path,
  hide_off_diagonal_params = FALSE,
  only_method = NULL,
  only_last = TRUE,
  show_table_idx = FALSE,
  show_method = FALSE
)

Arguments

path

path to model file, model output directory, ext file or metadata json file, or a hyperion_nonmem_model object

hide_off_diagonal_params

boolean, if TRUE will not display the unfixed off-diagonal estimated parameters

only_method

character, filter for getting estimates from specified method only. Available methods are Fo, Foce, Saems, Bayes, Imp, ImpMap, Its, Nuts

only_last

boolean, for grabbing only last estimation method parameters

show_table_idx

boolean, if TRUE include table_idx column in output

show_method

boolean, if TRUE include method column in output

Value

data.frame of parameter estimates

Examples

if (FALSE) { # \dontrun{
get_parameters("model/nonmem/run001/run001.ext")
model <- read_model("model/nonmem/run001.mod")
get_parameters(model)
} # }