aboutsummaryrefslogtreecommitdiff
path: root/R/parms.mkinfit.R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2022-09-16 10:51:48 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2022-09-16 10:51:48 +0200
commit2a521ab0a4b7d981a2042353e2c60b8a877489b8 (patch)
tree5198483a73f37335733cb78cb6507b3ffdbb9fe5 /R/parms.mkinfit.R
parent03e1598a3c79911a497758fe382461f288bf05e6 (diff)
Improve docs and update pkgdown
Diffstat (limited to 'R/parms.mkinfit.R')
-rw-r--r--R/parms.mkinfit.R19
1 files changed, 9 insertions, 10 deletions
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)

Contact - Imprint