| .to_cls_from_fct | R Documentation |
A helper that wraps around a to_*() function to provide a standard way to
coerce factors.
.to_cls_from_fct(
x,
to_cls_fn,
to_cls_args,
to_class,
coerce_factor = TRUE,
x_arg = caller_arg(x),
call = caller_env(),
x_class = object_type(x)
)
x |
The argument to stabilize. |
to_cls_fn |
|
to_cls_args |
|
to_class |
|
coerce_factor |
|
x_arg |
|
call |
|
x_class |
|
x coerced to the target class.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.