Description Usage Arguments Value Examples
Count the occurrences of each factor level or value in a vector.
1 | tableNA(x)
|
x |
numeric. An atomic vector or a factor. |
An object of class "tableNA"
, which is the result of
tabulate()
with three attributes:
type_of_x
: the result of typeof(x)
;
is_factor_x
: the result of is.factor(x)
;
levels
: the result of levels(x)
.
The number of missing values is always reported.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.