Learn R Programming

ProfessR (version 2.1)

show.dist: Show Distribution of Grades

Description

Show Distribution of Grades

Usage

show.dist(W)

Arguments

W
list output of do.grades

Value

  • Side Effects

Details

Print out the distribution of letter grades

See Also

do.grades

Examples

Run this code
g = rnorm(n=130, m=82, sd=10)
g[g>100] = 100
g[g<1] = 1

B = boxplot(g)

divs = c(min(g), B$stats[1:4] + diff(B$stats)/2, max(g) )
D1 = do.grades(g, divs=divs, tit="GEOL 105 Exam 1")

show.dist(D1)

Run the code above in your browser using DataLab