From 2a521ab0a4b7d981a2042353e2c60b8a877489b8 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Fri, 16 Sep 2022 10:51:48 +0200 Subject: Improve docs and update pkgdown --- R/parms.mkinfit.R | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'R/parms.mkinfit.R') diff --git a/R/parms.mkinfit.R b/R/parms.mkinfit.R index 31ca05bc..83766355 100644 --- a/R/parms.mkinfit.R +++ b/R/parms.mkinfit.R @@ -1,16 +1,15 @@ -#' Extract model parameters from mkinfit models +#' Extract model parameters #' -#' This function always returns degradation model parameters as well as error -#' model parameters, in order to avoid working with a fitted model without -#' considering the error structure that was assumed for the fit. +#' This function returns degradation model parameters as well as error +#' model parameters per default, in order to avoid working with a fitted model +#' without considering the error structure that was assumed for the fit. #' -#' @param object A fitted model object. Methods are implemented for -#' [mkinfit()] objects and for [mmkin()] objects. +#' @param object A fitted model object. #' @param \dots Not used -#' @return For mkinfit objects, a numeric vector of fitted model parameters. -#' For mmkin row objects, a matrix with the parameters with a row for each -#' dataset. If the mmkin object has more than one row, a list of such matrices -#' is returned. +#' @return Depending on the object, a numeric vector of fitted model parameters, +#' a matrix (e.g. for mmkin row objects), or a list of matrices (e.g. for +#' mmkin objects with more than one row). +#' @seealso [saem], [multistart] #' @examples #' # mkinfit objects #' fit <- mkinfit("SFO", FOCUS_2006_C, quiet = TRUE) -- cgit v1.2.1