MIQ_standalone: Standalone MIQ

Description Usage Arguments

View source: R/standalone.R

Description

This function launches a standalone testing session for MIQ. 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
MIQ_standalone(
  title = NULL,
  num_items = 5,
  with_welcome = TRUE,
  take_training = TRUE,
  feedback_page = NULL,
  admin_password = "conifer",
  researcher_email = "longgold@gold.uc.ak",
  languages = c("en", "de"),
  dict = MIQ::MIQ_dict,
  validate_id = "auto",
  ...
)

Arguments

title

(Character scalar) Title to display during testing.

num_items

(Integer scalar) Number of items to be adminstered.

with_welcome

(Logical scalar) Whether to display a welcome page. Defaults to TRUE.

take_training

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

feedback_page

(Function) Defines a feedback page function for displaying the results to the participant at the end of the test. Defaults to NULL. Possible feedback page functions include "feedback_with_score()", and "feedback_with_graph()".

admin_password

(Character scalar) Password for accessing the admin panel.

researcher_email

(Character scalar) 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

(i18n_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 MIQ_standalone().


fmhoeger/MIQ documentation built on Oct. 7, 2020, 6:56 a.m.