Learn R Programming

bit (version 4.5.0.1)

as.ri.ri: Coerce to ri

Description

Coerce to ri

Usage

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

# S3 method for default as.ri(x, ...)

as.ri(x, ...)

Value

an ri object

Arguments

x

object to coerce

...

further arguments

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

See Also

CoercionToStandard, as.booltype, as.bit, as.bitwhich , as.which, as.ri, as.hi, as.ff

Examples

Run this code
as.ri(c(FALSE, TRUE, FALSE, TRUE))

Run the code above in your browser using DataLab