Various functions for factor_ext
objects
values(x, ...) # S3 method for factor_ext values(x, ...) # S3 method for factor values(x, ...) # S3 method for default values(x, ...) # S3 method for factor_ext as.character(x, ...) # S3 method for factor_ext [[(x, ...) # S3 method for factor_ext [[(x, ...) <- value # S3 method for factor_ext [(x, ..., drop = FALSE) # S3 method for factor_ext [(x, ...) <- value is.factor_ext(x) coercible_to_factor(x) coerce_to_factor(x) # S3 method for factor_ext print(x, quote = FALSE, max.levels = NULL, width = getOption("width"), ...) # S3 method for factor_ext ==(e1, e2) # S3 method for factor_ext !=(e1, e2) # S3 method for factor_ext c(...)
x | Object of type |
---|---|
... | Currently ignored |
value | The object to assign; here has be a level of |
drop | Should dimensions of size 1 be dropped? |
quote | logical, indicating whether or not strings should be printed with surrounding quotes. |
max.levels | integer, indicating how many levels should be printed. if '0', no extra "Levels" line will be printed. The default, 'NULL', entails choosing 'max.levels' such that the levels print on one line of width 'width' (same for values). |
width | only used when |
e1, e2 | The two objects in the equality or inequality comparison. |
Depending on the function
Extracts the underlying values of an object (the generic here)
Extracts the underlying values of a factor_ext
object
Extracts the underlying values of a factor
Default of the values function; currently returns an error
Coerces factor_ext
to a character-representation using it levels, not values
Single-item subsetting of a factor_ext
object
Single-item subset assignment to a factor_ext
object
Subsetting of a factor_ext
object
Subset assignment to a factor_ext
object
Check if it is a factor_ext
object. Returns a logical
Checks if a factor_ext
could be coerced to a factor
. Return a logical.
Coerces to a factor
, otherwise throws an error if not possible.
Prints a factor_ext
object.
Compare two factor_ext
for equality.
Compare two factor_ext
for inequality.
Concatenate objects of type factor_ext
.