aboutsummaryrefslogtreecommitdiff
path: root/R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2022-11-01 11:10:03 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2022-11-01 11:10:03 +0100
commit38eca0da138332bacb47ce0e3a8cc48f257bd0c8 (patch)
treeeb6caeaedabe75016e52fad9743b804816864d55 /R
parent0c18f5de9b2f948d0b5e22a3b3deed16d64d8006 (diff)
Fix a bug, couldn't set class attribute on NULL
Diffstat (limited to 'R')
-rw-r--r--R/illparms.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/R/illparms.R b/R/illparms.R
index b2d510dc..4f5f8b00 100644
--- a/R/illparms.R
+++ b/R/illparms.R
@@ -97,7 +97,7 @@ illparms.saem.mmkin <- function(object, conf.level = 0.95, random = TRUE, errmod
failed <- NA
} else {
ints <- intervals(object, conf.level = conf.level)
- failed <- NULL
+ failed <- character(0)
if (random) {
failed_random <- ints$random[, "lower"] < 0
failed <- c(failed, names(which(failed_random)))

Contact - Imprint