Expand description
Coercion builtins: as.integer, as.double, as.character, etc.
Each function coerces an R value to a specific type, following Rβs standard coercion rules.
StaticsΒ§
- __
BUILTIN_ πREG_ BUILTIN_ AS_ CALL - __
BUILTIN_ πREG_ BUILTIN_ AS_ CHARACTER - __
BUILTIN_ πREG_ BUILTIN_ AS_ DATA_ FRAME - __
BUILTIN_ πREG_ BUILTIN_ AS_ FACTOR - __
BUILTIN_ πREG_ BUILTIN_ AS_ INTEGER - __
BUILTIN_ πREG_ BUILTIN_ AS_ LIST - __
BUILTIN_ πREG_ BUILTIN_ AS_ LOGICAL - __
BUILTIN_ πREG_ BUILTIN_ AS_ MATRIX - __
BUILTIN_ πREG_ BUILTIN_ AS_ NAME - __
BUILTIN_ πREG_ BUILTIN_ AS_ NUMERIC - __
BUILTIN_ πREG_ BUILTIN_ AS_ PAIRLIST - __
BUILTIN_ πREG_ BUILTIN_ AS_ VECTOR - __
BUILTIN_ πREG_ BUILTIN_ MATCH_ FUN
FunctionsΒ§
- builtin_
as_ πcall - Convert a list to a call object (Language).
- builtin_
as_ πcharacter - Coerce an object to character (string).
- builtin_
as_ πdata_ frame - Coerce an object to a data frame.
- builtin_
as_ πfactor - Coerce an object to a factor.
- builtin_
as_ πinteger - Coerce an object to integer.
- builtin_
as_ πlist - Coerce an object to a list.
- builtin_
as_ πlogical - Coerce an object to logical.
- builtin_
as_ πmatrix - Coerce an object to a matrix.
- builtin_
as_ πname - Coerce a string to a symbol/name.
- builtin_
as_ πnumeric - Coerce an object to double (numeric).
- builtin_
as_ πpairlist - Convert a list to a pairlist. In miniR, pairlists are represented as lists.
- builtin_
as_ πvector - Coerce an object to a vector, stripping all attributes.
- builtin_
match_ πfun - Look up a function by name or return it if already a function.
- factor_
to_ πcharacter - Convert a factor (integer codes + levels attr) to a character vector of labels.
- is_
factor π - Check whether an
RVectorhas class βfactorβ. - rvalue_
to_ πexpr - Convert an RValue to an Expr for constructing Language objects.