Description Usage Arguments Value
View source: R/acc_functions.R
summarizes the data levels in a column of categorical data and optionally provides a barplot output
1 2 | summarize_by(col, display = F, barPlotTitle = "Counts across types",
left_margin_factor = 1)
|
col |
Vector, the categorical values to be summarized |
display |
A flag indicating if the data should be displayed in a bar plot. |
barPlotTitle |
The title that should be given to the bar plot |
left_margin_factor |
A numerical factor expanding the left margin of the bar plot. Used to adjust in situations where there is insufficient room to display the text of each bar's label |
A two column data.frame with columns "types", the different levels and "counts", the different numer of times each level occurs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.