Description Usage Arguments Value Examples
Summarise a variables by groups and bin the observations
1 | performanceBins(data, bin_by, cutpoints = c(0, 0.25, 0.5, 0.75, 1), ...)
|
data |
data frame to work with |
bin_by |
Character vector defining the variables to group the data by |
cutpoints |
numeric vector of value to bin the measured variable at. Values not within the range of this vector will be grouped into the NA category. By default, data is binned into quartiles. |
... |
Name-value pairs of summary functions like mean(), sd() etc. |
An ungrouped table df summmarising the observed count and frequency in each bin
1 2 3 4 | filter(LB4L_allSs, list==1) %>%
performanceBins(bin_by = "subject",
cutpoints=c(0,.25, .75,1),
acc=mean(final_score))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.