TPT_standalone: #' Standalone TPT

View source: R/tpt_standalone.R

TPT_standaloneR Documentation

#' Standalone TPT

Description

This function launches a standalone testing session for the TPT This can be used for data collection, either in the laboratory or online.

Usage

TPT_standalone(
  title = NULL,
  with_feedback = TRUE,
  with_training = TRUE,
  with_welcome = TRUE,
  admin_password = "conifer",
  researcher_email = "longgold@gold.uc.ak",
  languages = c("en", "de", "de_f"),
  dict = tptR::TPT_dict,
  with_id = FALSE,
  validate_id = "auto",
  ...
)

Arguments

title

(Scalar character) Title to display during testing.

with_feedback

(Scalar boolean) Indicates if performance feedback will be given at the end of the test. Defaults to TRUE

with_training

(Boolean scalar) Defines whether instructions and training are included. Defaults to TRUE.

with_welcome

(Boolean scalar) Defines whether welcome page will be shown at beginning of the test. Defaults to TRUE.

admin_password

(Scalar character) Password for accessing the admin panel.

researcher_email

(Scalar character) If not NULL, this researcher's email address is displayed at the bottom of the screen so that online participants can ask for help.

languages

(Character vector) Determines the languages available to participants. Possible languages include English ("en"), German (informal: "de" and formal "de_f"), and Italian ("it") The first language is selected by default

dict

The psychTestR dictionary used for internationalisation.

with_id

participant ID. Default to FALSE

validate_id

(Character scalar or closure) Function for validating IDs or string "auto" for default validation which means ID should consist only of alphanumeric characters.

...

Further arguments to be passed to TPT().


harin-git/tptR documentation built on June 1, 2022, 1:39 p.m.