Skip to contents

Tutorial grade server

Usage

grade_server(
  id,
  num_blanks = FALSE,
  graded = NULL,
  graded_pts = NULL,
  num_try = 3,
  deduction = 0.1,
  exclude = NULL,
  tz = Sys.timezone()
)

Arguments

id

ID matching ui with server

num_blanks

TRUE/FALSE: Set the number of points for a question equal to the number of blanks for question_wordbank and question_blank. Default FALSE.

graded

Either NULL or a vector containing the names of each question/exercise that require custom points.

graded_pts

Either NULL or a vector containing the number of points corresponding to each question/exercise specified in "graded".

num_try

Number of tries allowed before grade deduction on that question. Default is 3.

deduction

The percent (as a decimal) to be deducted for each additional incorrect attempt after num_try. Default is 0.1.

exclude

Either NULL or a vector of names of questions/exercises to exclude.

tz

Time zone to display start time on report.