DEG: DEG

View source: R/DEG.R

DEGR Documentation

DEG

Description

This function defines a DEG module for incorporation into a psychTestR timeline. Use this function if you want to include the DEG in a battery of other tests, or if you want to add custom psychTestR pages to your test timeline. For a standalone implementation of the DEG, consider using DEG_standalone().

Usage

DEG(
  label = "DEG",
  dict = psyquest::psyquest_dict,
  subscales = c(),
  language = "en",
  year_range = c(1930, 2013),
  ...
)

Arguments

label

(Character scalar) Three uppercase letter acronym of the questionnaire. This is also the label given to the results in the output file.

dict

(i18n_dict) (i18n_dict) (i18n_dict) The psyquest dictionary used for internationalisation.

subscales

(Character vector) The subscales to be included in the questionnaire. Possible subscales are "Best Shot", "Hearing Impairment", "Type of Hearing Impairment", "Gender", "Age", "Nationality", "Country Formative Years", "First Language", "Second Language", and "Handedness". If no subscales are provided all subscales are selected.

language

Language the questionnaire is rendered in.

year_range

(length 2 int vector) The minimum and maximum year for birth date dropdown boxes.

...

Further arguments to be passed to DEG() (e.g., can be used to set choice of country of residence.)


klausfrieler/psyquest documentation built on Feb. 24, 2025, 11:20 p.m.