Learn R Programming

moodef (version 1.2.0)

determine_question_type: Determine question type

Description

Determines the type of the question based on its content, provided answers, and optional type parameter.

Usage

determine_question_type(type, question, answer, a_values)

Value

A string indicating the question type.

Arguments

type

A string, suggested type for the question.

question

A string, the main question text.

answer

A string or vector, the correct answer(s) for the question.

a_values

A vector, additional answers for the question.