create_instrument_from_list {harmonydata} | R Documentation |
Create instrument from list
Description
This function creates an instrument from a list of questions.
Usage
create_instrument_from_list(
question_texts,
question_numbers = NULL,
instrument_name = "My instrument"
)
Arguments
question_texts |
A character vector of question texts. |
question_numbers |
A character vector of question numbers. If not provided, the question number will be the index of the question text. |
instrument_name |
A character string of the instrument name. |
Author(s)
Alex Nikic
Examples
instrument = create_instrument_from_list(
list("How old are you?",
"What is your gender?",
"What is your name?")
)
[Package harmonydata version 0.3.1 Index]