Learn R Programming

distr6 (version 1.0.0)

as.numeric.Interval: Coerces Interval to Numeric

Description

If possible coerces an integer-class to numeric.

Arguments

Value

If the Interval is of class integer then returns a numeric vector of the interval elements.

R6 Usage

$length()

Details

If the interval is of class 'integer', returns the interval as a numeric. Otherwise does nothing.

This is an R6 method only, no S3 dispatch is available.

See Also

Set, length.Interval