determine_question_type: Determine question type

View source: R/determine_question_type.R

determine_question_typeR Documentation

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)

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.

Value

A string indicating the question type.


moodef documentation built on April 12, 2025, 1:42 a.m.