Create object TextGap
Usage
textGap(
solution,
response_identifier = generate_id(type = "gap"),
points = 1,
placeholder = "",
expected_length = size_gap(solution),
case_sensitive = FALSE
)
gapText(
solution,
response_identifier = generate_id(type = "gap"),
points = 1,
placeholder = "",
expected_length = size_gap(solution),
case_sensitive = FALSE
)
Arguments
- solution
A character vector containing the values considered as correct answers.
- response_identifier
A character value representing an identifier for the answer. By default, it is generated as 'id_gap_dddd', where dddd represents random digits.
- points
A numeric value, optional, representing the number of points for this gap. Default is 1
- placeholder
A character value, optional, responsible for placing helpful text in the text input field in the content delivery engine. Default is "".
- expected_length
A numeric value, optional, responsible for setting the size of the text input field in the content delivery engine. Default value is adjusted by solution size.
- case_sensitive
A boolean value, determining whether the evaluation of the correct answer is case sensitive. Default is
FALSE
.
Value
An object of class TextGap