thisisnic commented on a change in pull request #10343:
URL: https://github.com/apache/arrow/pull/10343#discussion_r636074076
##########
File path: r/R/compute.R
##########
@@ -264,6 +287,9 @@ is_in.ArrowDatum <- function(x, table, ...) {
#' @param x `Array` or `ChunkedArray`
#' @return A `StructArray` containing "values" (same type as `x`) and "counts"
#' `Int64`.
+#' @examples
+#' cyl_vals <- Array$create(mtcars$cyl)
+#' value_counts(cyl_vals)
Review comment:
Reckon it's worth me opening a ticket for this?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]