Description Usage Arguments Value See Also Examples
summarize a data frame by the summarizeTerms. Accepts arbitrary text as summarizeTerms to allow forms such as "mean(Sepal.Length)".
1 2 3 | summarize_se(.data, summarizeTerms, ..., warn = TRUE, env = parent.frame())
summarise_se(.data, summarizeTerms, ..., warn = TRUE, env = parent.frame())
|
.data |
data.frame |
summarizeTerms |
character vector of column expressions to summarize by. |
... |
force later terms to be bound by name |
warn |
logical, if TRUE warn about possible name collisions. |
env |
environment to work in. |
.data with summarizeTerms summarization applied.
1 2 3 4 5 6 7 8 9 10 11 12 13 | # good
datasets::iris %.>%
summarize_se(., qae(Mean_Sepal_Length := mean(Sepal.Length),
Max_Sepal_Length := max(Sepal.Length)))
# good
datasets::iris %.>%
summarize_se(., qae(Sepal.Length := mean(Sepal.Length)))
# intentionally generates a warning
datasets::iris %.>%
summarize_se(., qae(Sepal.Length := mean(Sepal.Length),
Max_Sepal_Length := max(Sepal.Length)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.