diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2022-11-01 11:10:03 +0100 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2022-11-01 11:10:03 +0100 |
commit | 38eca0da138332bacb47ce0e3a8cc48f257bd0c8 (patch) | |
tree | eb6caeaedabe75016e52fad9743b804816864d55 /R/illparms.R | |
parent | 0c18f5de9b2f948d0b5e22a3b3deed16d64d8006 (diff) |
Fix a bug, couldn't set class attribute on NULL
Diffstat (limited to 'R/illparms.R')
-rw-r--r-- | R/illparms.R | 2 |
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))) |