This function inserts a template for a surveydown question at the current cursor position in the active RStudio document. It supports various question types and automatically removes the function call before inserting the template if it exists in the document.
sd_add_question(type ="mc", chunk =FALSE)
Arguments
type: A character string specifying the type of question template to insert. Default is "mc" (multiple choice). Available options are: