Function updating question parameters (penalty, partial credits, points) based on user input.

update_question(
  test_name = NULL,
  test_parameters = NULL,
  edited_question = NULL,
  new_points = NULL,
  new_penalty = NULL,
  new_partial_credits = NULL
)

Arguments

test_name

Character. Name of the test.

test_parameters

Tibble. Items checked in answers.

edited_question

Character. Code of the question to edit.

new_points

Numeric. Points assigned to the question.

new_penalty

Logical. Whether negative points should be counted.

new_partial_credits

Logical Whether partial credits should be earned.

Value

Tibble. Updated test parameters.

Author

Nicolas Mangin