View source: R/helper_functions.R
count | R Documentation |
This is a convenience function to count rows of a resultset, optionally by group
count(qry, byvars = NULL, sort = F)
qry |
The result set (query/table/view) to return row count for. |
byvars |
optional string vector of column names |
sort |
boolean indicating whether to sort or not (default is F) |
count(qry)
count(qry, byvars=c("var1", "var2"), sort=T)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.