Learn R Programming

distr6 (version 1.3.2)

length.Interval: Length of Interval

Description

Returns the length of the Interval after coercing to numeric.

Arguments

Value

Returns the length of interval as a numeric if class 'integer' otherwise Inf.

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

R6 Usage

$length()

Details

If the interval is of class 'numeric', returns Inf. Otherwise coerces to numeric and returns that length.

See Also

Set, length.Interval