aboutsummaryrefslogtreecommitdiff
path: root/R/parms.mkinfit.R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2019-11-01 15:34:28 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2019-11-01 15:34:28 +0100
commitce73c044b949154e3bc3e715b9b79e1360b3f794 (patch)
tree28f477a3142f1efa463a8d8569f924b9064e8637 /R/parms.mkinfit.R
parente7c65ee913d4a84da0957d2ebb89abfbc444de56 (diff)
Make the 'quadratic' the default for 'confint'
Also the documentation was improved here and there
Diffstat (limited to 'R/parms.mkinfit.R')
-rw-r--r--R/parms.mkinfit.R6
1 files changed, 5 insertions, 1 deletions
diff --git a/R/parms.mkinfit.R b/R/parms.mkinfit.R
index 0628cb92..281d06de 100644
--- a/R/parms.mkinfit.R
+++ b/R/parms.mkinfit.R
@@ -3,7 +3,7 @@
#' 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.
-#'
+#'
#' @param object A fitted model object
#' @param \dots Not used
#' @return A numeric vector of fitted model parameters
@@ -16,6 +16,10 @@ parms <- function(object, ...)
#' @param transformed Should the parameters be returned
#' as used internally during the optimisation?
#' @rdname parms
+#' @examples
+#' fit <- mkinfit("SFO", FOCUS_2006_C)
+#' parms(fit)
+#' parms(fit, transformed = TRUE)
#' @export
parms.mkinfit <- function(object, transformed = FALSE, ...)
{

Contact - Imprint