diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2023-08-10 07:16:20 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2023-08-10 07:16:20 +0200 |
commit | 60696f36ce365a82fcaae5189a1118972a4e672f (patch) | |
tree | cbcf4c0a43e33128920ef1fa063e8d2eae2d0de9 /R/illparms.R | |
parent | a01fe8923ff50dcc76c34fb09ad500f5f5433063 (diff) | |
parent | 9abab1e2d4385039b01ad3dc0d9c5966bbe94fee (diff) |
Merge branch 'main' into dev
Start new development version
Diffstat (limited to 'R/illparms.R')
-rw-r--r-- | R/illparms.R | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/R/illparms.R b/R/illparms.R index eef4bd33..68a6bff6 100644 --- a/R/illparms.R +++ b/R/illparms.R @@ -106,7 +106,7 @@ illparms.saem.mmkin <- function(object, conf.level = 0.95, random = TRUE, errmod ill_parms <- c(ill_parms, names(which(ill_parms_random))) } if (errmod) { - ill_parms_errmod <- ints$errmod[, "lower"] < 0 & ints$errmod[, "est."] > 0 + ill_parms_errmod <- ints$errmod[, "lower"] < 0 & ints$errmod[, "upper"] > 0 ill_parms <- c(ill_parms, names(which(ill_parms_errmod))) } if (slopes) { @@ -115,7 +115,7 @@ illparms.saem.mmkin <- function(object, conf.level = 0.95, random = TRUE, errmod ci <- object$so@results@conf.int rownames(ci) <- ci$name slope_ci <- ci[slope_names, ] - ill_parms_slopes <- slope_ci[, "lower"] < 0 & slope_ci[, "estimate"] > 0 + ill_parms_slopes <- slope_ci[, "lower"] < 0 & slope_ci[, "upper"] > 0 ill_parms <- c(ill_parms, slope_names[ill_parms_slopes]) } } |