DUMPgrades             package:ProfessR             R Documentation

_D_u_m_p _g_r_a_d_e_s _t_o _a _f_i_l_e

_D_e_s_c_r_i_p_t_i_o_n:

     Dump grades to a file

_U_s_a_g_e:

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

_A_r_g_u_m_e_n_t_s:

      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

_V_a_l_u_e:

     Side effects

_A_u_t_h_o_r(_s):

     Jonathan M. Lees<jonathan.lees@unc.edu>

_S_e_e _A_l_s_o:

     do.grades

_E_x_a_m_p_l_e_s:

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

