process_scores | R Documentation |
Aggregate scores from matching columns, possibly after dropping some of the lowest scores.
process_scores(data, pattern, as = "hw", drop = 0,
format = c("percent", "proportion"), ignore.case = TRUE)
data |
A data frame containing the gradebook. |
pattern |
A regular expression matched against the names in 'data' for selecting the columns to be aggregated. |
as |
A string naming the new variable to be computed. |
drop |
number of (lowest) items to drop. |
format |
One of '"percent"', "'proportion"'. |
ignore.case |
A logical indicating whether case should be ignored when matching 'pattern'. |
A data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.