value_counts | R Documentation |
table
for Arrow objectsThis function tabulates the values in the array and returns a table of counts.
value_counts(x)
x |
|
A StructArray
containing "values" (same type as x
) and "counts"
Int64
.
cyl_vals <- Array$create(mtcars$cyl)
counts <- value_counts(cyl_vals)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.