diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2019-04-10 10:17:35 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2019-04-10 10:17:35 +0200 |
commit | 194659fcaccdd1ee37851725b8c72e99daa3a8cf (patch) | |
tree | edbbebe8956000b9eb725ca425b91e051571ec02 /R/nafta.R | |
parent | 5814be02f286ce96d6cff8d698aea6844e4025f1 (diff) |
Adapt tests, vignettes and examples
- Write the NEWS
- Static documentation rebuilt by pkgdown
- Adapt mkinerrmin
- Fix (hopefully all) remaining problems in mkinfit
Diffstat (limited to 'R/nafta.R')
-rw-r--r-- | R/nafta.R | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -42,8 +42,8 @@ nafta <- function(ds, title = NA, quiet = FALSE, ...) { # Compare the sum of squared residuals (SSR) to the upper bound of the # confidence region of the SSR for the IORE model - result$S <- sapply(result$mmkin, function(x) x$ssr) - names(result$S) <- models + result$S <- sapply(result$mmkin, function(x) sum(x$data$residual^2)) + names(result$S) <- c("SFO", "IORE", "DFOP") # Equation (3) on p. 3 p <- 3 result$S["IORE"] |