SMT: SMT

Description Usage Arguments Details

View source: R/SMT.R

Description

This function defines a SMT module for incorporation into a psychTestR timeline. Use this function if you want to include the SMT in a battery of other tests, or if you want to add custom psychTestR pages to your test timeline.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
SMT(
  max_items_per_task = 50L,
  with_welcome = TRUE,
  with_selection = FALSE,
  with_interim_feedback = FALSE,
  with_finish = TRUE,
  label = "SMT",
  feedback = SMT_feedback_with_score(),
  dict = SMT::SMT_dict
)

Arguments

max_items_per_task

(Scalar integer) Max. number of items per task group.

with_welcome

(Scalar boolean) Indicates, if a welcome page shall be displayed. Defaults to TRUE

with_selection

(Scalar boolean) Indicates, if test configuration page shall be displayed. Defaults to TRUE

with_interim_feedback

(Scalar boolean) Indicates, if feedback after each task group shall be given

with_finish

(Scalar boolean) Indicates, if a finish (not final!) page shall be displayed. Defaults to TRUE

label

(Character scalar) Label to give the SMT results in the output file.

feedback

(Function) Defines the feedback to give the participant at the end of the test.

dict

The psychTestR dictionary used for internationalisation.

Details

For demoing the SMT, consider using SMT_demo(). For a standalone implementation of the SMT, consider using SMT_standalone().


klausfrieler/SMT documentation built on Feb. 5, 2022, 5:26 p.m.