aboutsummaryrefslogtreecommitdiff
path: root/R/nafta.R
diff options
context:
space:
mode:
Diffstat (limited to 'R/nafta.R')
-rw-r--r--R/nafta.R6
1 files changed, 3 insertions, 3 deletions
diff --git a/R/nafta.R b/R/nafta.R
index d4d63f6b..0d8c6cb9 100644
--- a/R/nafta.R
+++ b/R/nafta.R
@@ -64,16 +64,16 @@ plot.nafta <- function(x, legend = FALSE, main = "auto", ...) {
plot(x$mmkin, ..., legend = legend, main = main)
}
-print.nafta <- function(x, quiet = TRUE, ...) {
+print.nafta <- function(x, quiet = TRUE, digits = 3, ...) {
cat("Sums of squares:\n")
print(x$S)
cat("\nCritical sum of squares for checking the SFO model:\n")
print(x$S_c)
cat("\nParameters:\n")
- print(x$parameters)
+ print(x$parameters, digits = digits)
t_rep <- .evaluate_nafta_results(x$S, x$S_c, x$distimes, quiet = quiet)
cat("\nDTx values:\n")
- print(signif((x$distimes), 3))
+ print(x$distimes, digits = digits)
cat("\nRepresentative half-life:\n")
print(t_rep)
}

Contact - Imprint