View source: R/utils_data.table.R
dt_nunique_perfeat | R Documentation |
Number of unique values per feature
dt_nunique_perfeat(x, excludeNA = FALSE, verbosity = 1L)
x |
data.table |
excludeNA |
Logical: If TRUE, exclude NA values. |
verbosity |
Integer: If > 0, print output to console. |
Named integer vector of length NCOL(x)
with number of unique values per column/feature, invisibly.
EDG
## Not run:
dt_nunique_perfeat(iris)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.