numerics.data.frame | R Documentation |
Identifies numeric columns. Stacks values and supplies factor level 'numeric'.
## S3 method for class 'data.frame'
numerics(x, ..., na.rm_num = FALSE, all_levels = FALSE)
x |
data.frame; names must not include 'name' or 'level' |
... |
passed to |
na.rm_num |
whether to drop NA observations; passed to |
all_levels |
whether to supply records for unobserved levels |
same class as x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.