Description Usage Arguments Value Examples
takes data frame and regular expression and calculates the mean for the given columns. Will take into account exemmptions
1 |
df |
data frame of marks |
RE |
regular expression to choose columns to average |
vector of means
1 2 3 4 5 6 7 8 | library(examMarking)
data("SMI_2018_marks")
SMI_2018_marks <-
SMI_2018_marks %>%
clean_marks_df("^A") %>%
get_prop_df("^A", 1)
SMI_2018_marks %>%
get_mean("^A")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.