gradeMapping: Numeric gradeMapping corresponding to lettering schemes

Description Usage Arguments Details Value Author(s) References Examples

View source: R/gradeMapping.R

Description

Numeric gradeMapping corresponding to lettering schemes with numbers.

Usage

1
gradeMapping(scheme=c("A", "B"))

Arguments

scheme

Indication of the grading scheme. "A" gives the Dalhousie Faculty of Engineering percentage scheme as of 2012. "B" gives a GPA scheme out of 4.3.

Details

This is used by p2l and l2p.

Value

A list containing letter grades (letter), paired with the numerical lower limits (lowerLimit) for those grades. For example, the Dalhousie Faculty of Science scheme (as of 2012) has A+ corresponding to percentages between 90 and 100, so the the value paired with "A+" is 95, for scheme="A". Similarly, that score maps to a GPA of 4.3, and that value is returned for scheme="B".

Author(s)

Dan Kelley

References

Different academic units use different scales, even at any given university. scheme="B", the Dalhousie undergraduate standard, is described at section 17.1 at http://ug.cal.dal.ca/ACRG.htm.

Examples

1
2
3
4
5
6
7
8
library(srs)
data.frame(gradeMapping())
data.frame(gradeMapping('B'))
pA <- gradeMapping("A")
pB <- gradeMapping("B")
iA <- which(pA$letter=="A+") 
iB <- which(pB$letter=="A+") 
cat("Lower limit for A+ is", pA$lowerLimit[iA], "percent or", pB$lowerLimit[iB], "points\n")

dankelley/srs documentation built on May 12, 2017, 4:46 p.m.