Description Usage Arguments Details Examples
View source: R/RcppExports.R View source: R/counts.R
This function uses Rcpp sugar to implement a fast table
, for
unique counts of a single vector. This implementation seeks to
produce identical output to table(x, useNA="ifany")
.
1 | counts(x)
|
x |
A numeric, integer, character or logical vector,
or a (potentially nested) list of such vectors. If
|
The order of NA
, NaN
in the output may differ – even
R is inconsistent with the order that NA
and NaN
elements
are inserted.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.