as.booltype: Coerce to booltype (generic)

as.booltype.defaultR Documentation

Coerce to booltype (generic)

Description

Coerce to booltype (generic)

Usage

## Default S3 method:
as.booltype(x, booltype = "logical", ...)

as.booltype(x, booltype, ...)

Arguments

x

object to coerce

booltype

target booltype given as integer or as character

...

further arguments

Value

x coerced to booltype

Methods (by class)

  • default: default method for as.booltype

See Also

CoercionToStandard, booltypes, booltype, is.booltype

Examples

as.booltype(0:1)
as.booltype(0:1, "logical")
as.booltype(0:1, "bit")
as.booltype(0:1, "bitwhich")
as.booltype(0:1, "which", maxindex=2)
as.booltype(0:1, "ri")

bit documentation built on Nov. 16, 2022, 1:12 a.m.