Learn R Programming

hmi (version 0.9.13)

as.interval: Function to transform objects into an interval object

Description

Function to transform numeric (or character) vectors or n times 2 matrices into an interval object

Usage

as.interval(x)

Arguments

x

An object to transform. Currently the function can transform numeric vectors and characters

Value

A vector of class interval.

See Also

generate_interval

Examples

Run this code
# NOT RUN {
as.interval(c("1000;2000", "700:700"))
as.interval(c("1500;1500", "700:700"))
# }

Run the code above in your browser using DataLab