Get the [optimx::optimx()] output from a fitted `pk` object
# S3 method for pk
get_fit(obj, model = NULL, ...)
A named list of objects of class `optimx`, named for the models in `model`. As described in [optimx::optimx()] If only one model is specified, the return value will still be a list, but with only one element.
A [pk] object.
Optional: Specify one or more of the fitted models for which to make predictions. If NULL (the default), predictions will be returned for all of the models in `obj$stat_model`.
Additional arguments. Not in use.
Caroline Ring, Gilberto Padilla Mercado
This function returns the object(s) returned by [optimx::optimx()] for the specified model(s) and method(s), for a fitted `pk` object. See [optimx::optimx()] for details. Briefly, an `optimx` object is a `data.frame` with one row for each method used, and variables that give the optimized values for each parameter, along with several diagnostic variables (e.g. the objective function value at the optimized parameter values; the number of function evaluations/iterations; an integer code describing convergence status). The object will have attributes `details` (providing any messages returned by the methods) and `npar` (the number of parameters optimized).
Other methods for fitted pk objects:
AAFE.pk()
,
AFE.pk()
,
AIC.pk()
,
BIC.pk()
,
coef.pk()
,
coef_sd.pk()
,
eval_tkstats.pk()
,
get_hessian.pk()
,
get_tkstats.pk()
,
logLik.pk()
,
predict.pk()
,
residuals.pk()
,
rmse.pk()
,
rsq.pk()