HPT_standalone: Standalone HPT

Description Usage Arguments

View source: R/standalone.R

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
HPT_standalone(
  title = NULL,
  num_items = 16L,
  with_feedback = FALSE,
  take_training = TRUE,
  with_welcome = TRUE,
  admin_password = "conifer",
  researcher_email = "longgoldstudy@gmail.com",
  languages = c("en", "de"),
  dict = HPT::HPT_dict,
  validate_id = "auto",
  ...
)

Arguments

title

(Scalar character) Title to display during testing.

num_items

(Scalar integer) Number of items to be adminstered.

with_feedback

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

take_training

(Boolean scalar) Defines whether instructions and training are included. 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"), and German ("de"). The first language is selected by default

dict

The psychTestR dictionary used for internationalisation.

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 HPT().


NicolasRuth/HPT documentation built on Jan. 1, 2022, 1:01 p.m.