aboutsummaryrefslogtreecommitdiff
path: root/R/summary.mkinfit.R
diff options
context:
space:
mode:
Diffstat (limited to 'R/summary.mkinfit.R')
-rw-r--r--R/summary.mkinfit.R5
1 files changed, 5 insertions, 0 deletions
diff --git a/R/summary.mkinfit.R b/R/summary.mkinfit.R
index 2dc74bd7..2c291ffd 100644
--- a/R/summary.mkinfit.R
+++ b/R/summary.mkinfit.R
@@ -165,6 +165,7 @@ summary.mkinfit <- function(object, data = TRUE, distimes = TRUE, alpha = 0.05,
}
ans$bparms.ode <- object$bparms.ode
+ ans$shapiro.p <- object$shapiro.p
ep <- endpoints(object)
if (length(ep$ff) != 0)
ans$ff <- ep$ff
@@ -228,6 +229,10 @@ print.summary.mkinfit <- function(x, digits = max(3, getOption("digits") - 3), .
row.names = " "))
}
+ if (!is.null(x$shapiro.p) && x$shapiro.p < 0.05) {
+ warning("The p-value for the Shapiro-Wilk test of normality on standardized residuals is < 0.05")
+ }
+
cat("\nOptimised, transformed parameters with symmetric confidence intervals:\n")
print(signif(x$par, digits = digits))

Contact - Imprint