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, NAs are kept as standard NAs.
Otherwise they are turned into "-Inf;Inf".
a character vector with the lower and upper bound values.