l2p: Letter to point-value

Description Usage Arguments Details Value Author(s) Examples

View source: R/l2p.R

Description

Convert letter grade to point value or percent value.

Usage

1
l2p(l, scheme=c("A", "B"))

Arguments

l

Letter grade.

scheme

Select from a scheme as listed below.

Details

Convert percent to letter grade using one particular scheme. (More may be added later.)

Value

A number that is at the mid-point of the grading category for the given letter grade.

Author(s)

Dan Kelley

Examples

1
2
3
library(srs)
l2p(c("F","D","C-","C","C+","B-","B","B+","A-","A","A+"), scheme="B")
l2p(c("F","D","C-","C","C+","B-","B","B+","A-","A","A+"), scheme="A")

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