print_question {mycaas} | R Documentation |
Print the question
Description
Function to print in the console the item and collect the answer.
Usage
print_question(
TextQuestion,
TextResponse = list(correct = "correct", incorrect = c("wrong1", "wrong2", "wrong3"))
)
Arguments
TextQuestion |
A character contain the text of the question. |
TextResponse |
A list containing for each question the correct and incorrect answers. |
Value
The answers of the question as numeric (1) if is correct and (0) if is false.
[Package mycaas version 0.0.1 Index]