Description Usage Arguments Value
View source: R/process_answers.R
Create the current leaderboard
1 | show_leaderboard(answers = NULL, n = NULL, quiz = getOption("peRson.quiz"))
|
answers |
Current list of evaluated answers. If NULL, taken from quiz environment. |
n |
Current question. If NULL, taken from the length of saved answers in quiz environment. |
quiz |
Quiz environment with quiz variables (uses answers, named_colors, presence) |
A plot with leaderboard is saved to "quiz/Ln.png".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.