Coerce to ri

# S3 method for class 'ri'
as.ri(x, ...)

# Default S3 method
as.ri(x, ...)

as.ri(x, ...)

Arguments

x

object to coerce

...

further arguments

Value

an ri() object

Methods (by class)

  • as.ri(ri): method to coerce ri() to ri()

  • as.ri(default): default method to coerce to ri()

Author

Jens Oehlschlägel

Examples

as.ri(c(FALSE, TRUE, FALSE, TRUE))
#> range index (ri) from 2 to 4 maxindex 4