| .stabilize_cls | R Documentation |
A helper used by the stabilize_*() functions to provide a standard set of
checks.
.stabilize_cls(
x,
to_cls_fn,
...,
to_cls_args = list(),
check_cls_value_fn = NULL,
check_cls_value_fn_args = list(),
allow_null = TRUE,
allow_na = TRUE,
min_size = NULL,
max_size = NULL,
x_arg = caller_arg(x),
call = caller_env(),
x_class = object_type(x)
)
x |
The argument to stabilize. |
to_cls_fn |
|
... |
Arguments passed to methods. |
to_cls_args |
|
check_cls_value_fn |
|
check_cls_value_fn_args |
|
allow_null |
|
allow_na |
|
min_size |
|
max_size |
|
x_arg |
|
call |
|
x_class |
|
x as a vector of the target class with all checks passed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.