battery: battery

Description Usage Arguments

View source: R/battery.R

Description

This function defines a battery, a series of questionnaires. Use this function if you want to create a battery of questionnaires.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
battery(
  title = setNames(c("LongGold Test Battery", "LongGold Test Batterie"),
    psyquest::languages()),
  questionnaires,
  languages = psyquest::languages(),
  dict = psyquest::psyquest_dict,
  admin_password = "conifer",
  researcher_email = NULL,
  validate_id = "auto",
  ...
)

Arguments

title

(Character scalar) Title of the umbrella test battery.

questionnaires

(Character vector)

languages

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

dict

(i18n_dict) The psyquest dictionary used for internationalisation.

admin_password

Password to access the admin panel.

researcher_email

Researcher's email; used in participant help message.

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


fmhoeger/psyquest documentation built on Jan. 27, 2021, 7:05 p.m.