Gets gradients of pararmeters during modeling
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
Examples
if (FALSE) { # \dontrun{
get_gradients("model/nonmem/run001/run001.grd")
model <- read_model("model/nonmem/run001.mod")
get_gradients(model)
} # }