| difficulty_label_key | R Documentation |
Returns a specific translation key based on an item's difficulty value.
difficulty_label_key(p)
p |
A numeric item difficulty value. |
A character string (translation key).
difficulty_label_key(0.3) # Hard
difficulty_label_key(0.7) # Medium
difficulty_label_key(0.9) # Easy
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.