sa | R Documentation |
This function creates a text question for moodle in CLOZE format.
sa(txt, w = 100, caps = TRUE, pts = 1)
txt |
character vector with possible answers |
w |
vector of weights |
caps |
keep capital letters |
pts |
points for answers |
a character vector
sa("Los Angeles")
sa(c("Los Angeles", "San Francisco"), w=c(100, 80))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.