LETGRADE {ProfessR} | R Documentation |
given a numeric grade return a letter grade
LETGRADE(g)
g |
numeric grade between 1-100 |
returns a grade based on a 4 point spread
character vector of grades
Failing grade is "E" by default. There is no "A+" in this program (UNC policy)
Jonathan M. Lees<jonathan.lees@unc.edu>
g = rnorm(25, m=82, sd=10) g[g>100] = 100 g[g<1] = 1 L = LETGRADE(g) cbind(g, L)