Function to generate transform into an
interval
object from numeric (or character) vectors.
generate_interval(lower, upper, sna = FALSE)
a vector with the lower values of a variable
a vector with the upper values of a variable
Boolean: if TRUE
, NA
s are kept as standard NA
s.
Otherwise they are turned into "-Inf;Inf"
.
a character vector with the lower and upper bound values.