Description Usage Arguments Details Value Author(s) Examples
View source: R/generate_solutions_text.R
Generates Rmd strings for a set of questions with indicated sample solutions
1 | generate_solution_text(x, groups=c("group001", "group002", "group003"))
|
x |
list, result of parsing file with questions via read_questions/select_questions |
type_headers |
list, indicating the headers to be used for each question type section (see example) |
groups |
named list indicating the possible responses defaults to c("group001", "group002", "group003") |
The...
a list of character strings (with markdown syntax)
Ulrich Matter <umatter@protonmail.com>
1 2 3 4 | myfile <- "inst/exdata/exam_questions.xlsx"
my_questions <- read_questions(myfile)
selection <-select_questions(my_questions)
generate_solution_text(selection)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.