powered by
This function creates an instrument from a list of questions.
create_instrument_from_list( question_texts, question_numbers = NULL, instrument_name = "My instrument" )
A character vector of question texts.
A character vector of question numbers. If not provided, the question number will be the index of the question text.
A character string of the instrument name.
Alex Nikic
# \donttest{ instrument = create_instrument_from_list( list("How old are you?", "What is your gender?", "What is your name?") ) # }
Run the code above in your browser using DataLab