Learn R Programming

galah (version 2.2.0)

count.data_request: Count the observations in each group

Description

count() lets you quickly count the unique values of one or more variables. It is evaluated lazily. add_count() is an equivalent that uses mutate() to add a new column with group-wise counts.

Usage

# S3 method for data_request
count(x, ..., wt, sort, name)

# S3 method for data_request add_count(x, ..., wt = NULL, sort = FALSE, name = NULL)

Arguments

x

An object of class data_request, created using galah_call()

...

currently ignored

wt

currently ignored

sort

currently ignored

name

currently ignored