grade_results_ch: Grade Exams (CH Scale)

Description Usage Arguments Details Value Author(s) Examples

View source: R/grade_results.R

Description

Grades exam results based on total points and some fix parameters following the CH grade scale (1-6)

Usage

1
grade_results_ch(exams_corrected, c=0.18, quant=0.93, ratio64=2.68, round=.5, minp_6 = NULL )

Arguments

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)

Details

grade= a + b*points, if fail : grade = 4 - c (points(4) - points)

Value

a data.frame with the grade per student

Author(s)

Ulrich Matter <umatter@protonmail.com>

Examples

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)

umatter/examr documentation built on Oct. 25, 2020, 8:12 a.m.