diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2019-02-26 09:12:50 +0100 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2019-02-26 09:12:50 +0100 |
commit | 6693ee373c61d716e877386d6be16e3f9f0f40ab (patch) | |
tree | 7e1e8607c96b459878ca81e9b183795399aeb516 /R/nafta.R | |
parent | 885ea2cd3392e57efff72e5094643917d6ba2be8 (diff) |
Add another NAFTA dataset + test
Diffstat (limited to 'R/nafta.R')
-rw-r--r-- | R/nafta.R | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -49,7 +49,7 @@ nafta <- function(ds, title = NA, quiet = FALSE) { result$S["IORE"] result$S_c <- result$S[["IORE"]] * (1 + p/(n - p) * qf(0.5, p, n - p)) - result$t_rep <- .evaluate_nafta_results(result$S, result$S_c, + result$t_rep <- .evaluate_nafta_results(result$S, result$S_c, result$distimes, quiet = quiet) class(result) <- "nafta" @@ -67,6 +67,7 @@ plot.nafta <- function(x, legend = FALSE, main = "auto", ...) { print.nafta <- function(x, quiet = TRUE, ...) { 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) |