powered by
Function to transform numeric (or character) vectors or n times 2 matrices into an interval object
as.interval(x, sna = FALSE)
An object to transform. Currently the function can transform numeric vectors and characters
Boolean: if TRUE, NAs are kept as standard NAs. Otherwise they are turned into "-Inf;Inf".
TRUE
NA
"-Inf;Inf"
A vector of class interval.
interval
generate_interval
# NOT RUN { as.interval(c("1000;2000", "700;700", NA)) # }
Run the code above in your browser using DataLab