cat.feedback.irt: Feedback on IRT score

Description Usage Arguments Value

View source: R/feedback.R

Description

Displays the participant's IRT score and associated standard error to the participant. Most participants won't know what these scores mean; however, this feedback option can be useful to experimenters conducting in-lab studies, because it means they can write down the final scores manually.

Usage

1
2
3
4
5
6
7
cat.feedback.irt(
  text = "feedback_irt",
  dict = psychTestRCAT::ptrcat_dict,
  next_button = NULL,
  digits_irt_score = 3L,
  digits_irt_sem = 3L
)

Arguments

text

(Character scalar) Text to display to the participant. This text will be treated as an internationalisation key for the dictionary contained in the dict argument; if the key is not present in the dictionary, the text will be displayed as is.

dict

Internationalisation dictionary (see i18n_dict).

next_button

(NULL or a character scalar or an object of class "shiny.tag") If NULL, no next button is shown (typically because the test has completed). Otherwise, a button to progress to the next page is created, displaying the content of this argument.

digits_irt_score

(Numeric scalar) Number of digits to which the IRT score should be rounded.

digits_irt_sem

(Numeric scalar) Number of digits to which the IRT standard error should be rounded.

Value

A timeline segment suitable for inclusion in a psychTestR timeline directly after adapt_test.


pmcharrison/psychTestCAT documentation built on Sept. 16, 2020, 5:48 p.m.