Function creating the interrogation and different propositions as well as the feedback associated with a given version of a question based on either true or false statements.

create_statements(propositions, documents, altnbr, truenbr, indication = TRUE)

Arguments

propositions

Tibble. Table from which items (statements) and associated explanations are selected.

documents

Character vector. List of document ids from that the selected statements should address.

altnbr

Integer. Number of propositions (i.e. choices) to offer to the student.

truenbr

Integer. Number of true propositions (i.e. choices) to offer to the student.

indication

Logical. Whether the number of alternatives to select should be specified in the question.

Value

Tibble. Table containing all the information about the propositions made to the student.

Author

Nicolas Mangin