R: Coerce to ri

as.ri.ri {bit} | R Documentation

## Coerce to ri

### Description

Coerce to ri

### Usage

    ## 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)

- `ri`: method to coerce `ri` to `ri`

- `default`: default method to coerce to `ri`

### Author(s)

Jens Oehlschlägel

### See Also

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

### Examples

    as.ri(c(FALSE, TRUE, FALSE, TRUE))

[Package bit version 4.0.3 Index]