new_iv {ivs} | R Documentation |
Construct a new iv
Description
new_iv()
is a developer focused function for creating a new interval
vector. It does minimal checks on the inputs, for performance.
Usage
new_iv(start, end, ..., class = character())
Arguments
start , end |
A pair of vectors to represent the bounds of the intervals. To be a valid interval vector, |
... |
Additional named attributes to attach to the result. |
class |
The name of the subclass to create. |
Value
A new iv object.
Examples
new_iv(1, 2)
[Package ivs version 0.2.0 Index]