krangl / krangl / countExpr

countExpr

fun DataFrame.countExpr(vararg moreExpressions: TableExpression, name: String = "n", tableExpression: TableExpression? = null): DataFrame

Counts expressions

If no grouping attributes are provided the method will respect the grouping of the receiver, or in cases of an ungrouped receiver will simply count the rows in the data.frame

Parameters

selects - The variables to to be used for cross-tabulation.

name - The name of the count column resulting table.