Learn R Programming

ProfessR (version 2.1)

DUMPgrades: Dump grades to a file

Description

Dump grades to a file

Usage

DUMPgrades(D1, file = NULL, id = NULL, names = NULL)

Arguments

D1
list output from do.grades
file
file name, a csv will be added as a suffix
id
vector of student IDs
names
character vector of student names

Value

  • Side effects

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) )



###  to run interactively, remove the divs
###  D1 = do.grades(g, tit="GEOL 105 Exam 1")

### otherwise use previously calculated divs:
D1 = do.grades(g, divs=divs, tit="GEOL 105 Exam 1")

DUMPgrades(D1, file="TEST1grades" )

Run the code above in your browser using DataLab