Description Usage Arguments Details Value Author(s) Examples
View source: R/grade_results.R
Grades exam results based on total points and some fix parameters following the CH grade scale (1-6)
1 | grade_results_ch(exams_corrected, c=0.18, quant=0.93, ratio64=2.68, round=.5, minp_6 = NULL )
|
exams_corrected |
a data frame (output of correct_scan_results) or numeric vector with the total points per student |
c |
numeric, discount multiplier for grades under 4 |
quant |
numeric, quantile defining the threshold for the top grade (6) |
ratio64 |
numeric, ratio of minimum no. of points for a 6 and minimum points for a 4 |
round |
numeric, to what grade fractions should the grades be rounded (either .1, .5, or NULL, defaults to NULL). if NULL, grades won't be rounded |
minp_6 |
numeric minimum number of points for best grade (6), defaults to NULL (minp_6 is determined based on quant) |
grade= a + b*points, if fail : grade = 4 - c (points(4) - points)
a data.frame with the grade per student
Ulrich Matter <umatter@protonmail.com>
1 2 3 4 | myfile <- system.file("inst/exdata/example_scan_results.csv", package="examr")
solutions <- system.file("inst/exdata/example_sample_solutions.csv", package="examr")
my_results <- correct_scan_results(myfile, solutions)
grades <- grade_results(my_results)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.