set_pending_answers | R Documentation |
The answers we want to process are indicated by the character "?". Fill in the specified answers by generating combinations of the available options to fill the gaps in order, from value 1 to the maximum number of options available: the first option for each of the gaps, the second for each of the gaps, and so on.
set_pending_answers(df)
df |
A data frame of exercises. |
A data frame.
Other support functions:
create_exercise_csv()
,
create_exercise_data_frame()
,
create_exercise_excel()
,
read_exercise_csv()
,
read_exercise_excel()
,
vector_to_string()
,
write_exercise_csv()
file <- system.file("extdata/example.csv", package = "rexer")
df <- read_exercise_csv(file)
df <- set_pending_answers(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.