Generates the actual multiple choice questions in an RAT
tbl_generate_RAT_choices(
rat,
answer_layout = "vertical",
answer_layout_column = NULL,
answer_layout_funs = tbl_default_RAT_layouts(),
random_seed = random()
)
Readiness Assessment Test object
how to arrange the answers, layouts supported by default are "vertical"
and "horizontal"
(recommended for image answers). The layout can be overwritten for individual questions by setting the answer_layout_column
parameter. Custom answer layouts can be provided using the answer_layout_funcs
parameter.
set this parameter to a column name in the questions data frame that has a different layout name for questions that are indended to deviate from the default layout (answer_layout
). All layouts must be defined in the answer_layout_funs
("vertical"
and "horizontal"
by default).
Specify custom answer layouts by providing layout functions that differ from the default. See tbl_default_RAT_layouts
for details on how these work.
can overwrite with a fixed value (e.g. random_seed=42
) to get a reproducible "random" order of the answer options