count,GroupedData-method {SparkR}R Documentation

Count

Description

Count the number of rows for each group. The resulting SparkDataFrame will also contain the grouping columns.

Usage

## S4 method for signature 'GroupedData'
count(x)

Arguments

x

a GroupedData

Value

a SparkDataFrame

Note

count since 1.4.0

Examples

## Not run: 
##D   count(groupBy(df, "name"))
## End(Not run)

[Package SparkR version 2.0.0 Index]