Creates HTML code for n-alternative forced-choice response options.
make_ui_NAFC(choices, labels = NULL, hide = FALSE, arrange_vertically = length(choices) > 2L, id = "response_ui")
Character vector of choices for the participant. If unnamed, then these values will be used both for button IDs and for button labels. If named, then values will be used for button IDs and names will be used for button labels.
Optional vector of labels for the NAFC choices.
Whether the response buttons should be hidden (possibly to be shown later).
Whether to arrange the response buttons vertically (the default) as opposed to horizontally.
HTML ID for the div containing the response buttons.