Learn R Programming

exams.forge (version 1.0.10)

grade: Grades

Description

Computes a grade based on the points of the grade scheme by the Humboldt University of Berlin. (See §96c and §102 in the Achte Änderung der Fächerübergreifenden Satzung zur Regelung von Zulassung, Studium und Prüfung der Humboldt-Universität zu Berlin (ZSP-HU))

Usage

grade(points, maxpts = max(points), fixed = TRUE)

hu_grade(points, maxpts = max(points), fixed = TRUE)

Value

Grades as a function of points.

Arguments

points

numeric: points achieved in exam

maxpts

numeric: maximal number of achievable points in an exam (default: max(points))

fixed

logical: a fixed or relative grade scheme (default: TRUE)

Examples

Run this code
x <- round(runif(100, 0, 22.4))
grade(x, 22)

Run the code above in your browser using DataLab