CHD: CHD

View source: R/CHD.R

CHDR Documentation

CHD

Description

This function defines a CHD module for incorporation into a psychTestR timeline. Use this function if you want to include the CHD 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 CHD, consider using CHD_standalone().

Usage

CHD(
  label = "CHD",
  dict = psyquest::psyquest_dict,
  subscales = c(),
  language = "en",
  ...
)

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.

...

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

year_range

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


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