Tabulate Vector Objects
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)]]
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.