Skip to contents

Gets gradients of pararmeters during modeling

Usage

get_gradients(path, only_method = NULL, only_last = TRUE)

Arguments

path

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

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

Value

data.frame of gradients

Examples

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