factor_ext_functions {hdf5r} | R Documentation |
Various functions for factor_ext
objects
Description
Various functions for factor_ext
objects
Usage
values(x, ...)
## S3 method for class 'factor_ext'
values(x, ...)
## S3 method for class 'factor'
values(x, ...)
## Default S3 method:
values(x, ...)
## S3 method for class 'factor_ext'
as.character(x, ...)
## S3 method for class 'factor_ext'
x[[...]]
## S3 replacement method for class 'factor_ext'
x[[...]] <- value
## S3 method for class 'factor_ext'
x[..., drop = FALSE]
## S3 replacement method for class 'factor_ext'
x[...] <- value
is.factor_ext(x)
coercible_to_factor(x)
coerce_to_factor(x)
## S3 method for class 'factor_ext'
print(x, quote = FALSE, max.levels = NULL,
width = getOption("width"), ...)
## S3 method for class 'factor_ext'
e1 == e2
## S3 method for class 'factor_ext'
e1 != e2
## S3 method for class 'factor_ext'
c(...)
Arguments
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. |
Details
- values
Extracts the underlying values of an object (the generic here)
- values.factor_ext
Extracts the underlying values of a
factor_ext
object- values.factor
Extracts the underlying values of a
factor
- values.default
Default of the values function; currently returns an error
- as.character
Coerces
factor_ext
to a character-representation using it levels, not values- [[.factor_ext
Single-item subsetting of a
factor_ext
object- [[<-.factor_ext
Single-item subset assignment to a
factor_ext
object- [.factor_ext
Subsetting of a
factor_ext
object- [<-.factor_ext
Subset assignment to a
factor_ext
object- is.factor_ext
Check if it is a
factor_ext
object. Returns a logical- coercible_to_factor
Checks if a
factor_ext
could be coerced to afactor
. Return a logical.- coerce_to_factor
Coerces to a
factor
, otherwise throws an error if not possible.- print.factor_ext
Prints a
factor_ext
object.- ==.factor_ext
Compare two
factor_ext
for equality.- !=.factor_ext
Compare two
factor_ext
for inequality.- c.factor_ext
Concatenate objects of type
factor_ext
.
Value
Depending on the function
Author(s)
Holger Hoefling