R/immediate_feedback_tests.R
tbl_generate_immediate_feedback_test.Rd
This function generates visual immediate feedback tests based on the data retrieved by tbl_fetch_immediate_feedback_test_data (the same function is used internally by the immediate feedback test apps).
tbl_generate_immediate_feedback_test(
immediate_feedback_test_data,
correct = "#4DAF4A",
incorrect = "#E41A1C",
unknown = "#999999",
width = 0.9,
height = 0.9
)
the immediate feedback test data frame retrieved by tbl_fetch_immediate_feedback_test_data
the color for correct answers (green by default)
the color for incorrect answers (red by default)
the color for yet unknown answers (gray by default)
the relative width of the option boxes (from 0 to 1)
the relative height of the optin boxes (from 0 to 1)