cl_tabulate | R Documentation |
Tabulate the unique values in vector objects.
cl_tabulate(x)
x |
a vector. |
A data frame with components:
values |
the unique values. |
counts |
an integer vector with the number of times each of the
unique values occurs in |
data("Kinship82")
tab <- cl_tabulate(Kinship82)
## The counts:
tab$counts
## The most frequent partition:
tab$values[[which.max(tab$counts)]]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.