Generating cloze question: one numeric and one single choice where choices are plots
I am writing an exercise in RMarkdown (usign knitr in RStudio) which includes one numeric question and one single-choice question. Could you please help me produce the correct code that allows the activity to be displayed in Moodle, if possible? The numeric question requires entering the correlation coefficient (whose correct answer is “corr1” in the code below), and the single-choice question requires selecting the graph that represents the data (with “grafico1” being the correct answer).