fit_model.Rd
Takes a pharmpy-loaded NONMEM model as input, and returns a pharmpy model results object. So essentially this function is a drop-in replacement for the run_modelfit() function in pharmr/pharmpy.
fit_model(model, data, tool = "nonmem", path, ...)
pharmpy model object
data.frame with data to fit
either nonmem or nlmixr
nonmem
nlmixr
path to .rds file to save fit results to
passed onto run_nmfe() function
run_nmfe()
TODO