diff options
Diffstat (limited to 'R/drfit.R')
-rw-r--r-- | R/drfit.R | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -41,6 +41,9 @@ drfit <- function(data, startlogED50 = NA, chooseone=TRUE, unit <- "" message("\n",i,": No data\n") } + if (length(unit) == 0) { + unit <- NA + } if (length(unit) > 1) { message("More than one unit for substance ",i,", halting\n\n") break |