Check vector
check_y( y, minScale = NA, maxScale = NA, responseAlternatives = NA, noZero = FALSE, toNumeric = TRUE )
y | A vector. If not a numeric vector and |
---|---|
minScale | Minimum expected value. If |
maxScale | Maximum expected value. If |
responseAlternatives | An optional vector of possible response alternatives. If |
noZero | Can the series have value |
toNumeric | If |
Transformed y
(if necessary), or, an error message.
#> Error in check_y(y, responseAlternatives = letters): could not find function "check_y"