Learn R Programming

klausuR (version 0.12-14)

nret.rescale: Rescale test evaluation results

Description

By default klausur adds a constant to results of ET/NRET type tests. This ensures that the minimum value of points can't fall below zero. If you'd rather like to see the results without this constant, i.e. results can be negative, you can rescale them with this function.

Usage

nret.rescale(
  res.obj,
  score = "NRET",
  points = TRUE,
  percent = TRUE,
  marks = TRUE
)

Arguments

res.obj

An object of class klausuR with results of an ET/NRET coded test.

score

Either "NR", "ET", "NRET" or "NRET+", defining the scoring function used.

points

Logical, whether point values should be rescaled.

percent

Logical, whether the percentage of received points should be rescaled, so that 0 points are 0 percent.

marks

Logical, whether the assigned marks should be rescaled to fit the rescaled points (probably a good idea). However, this will removed the attached mark assignment vecor, since its indices can't be negative.

Value

An object of class klausuR with rescaled results.