Learn R Programming

examly (version 0.2.0)

difficulty_label_key: Generate label key for difficulty (p)

Description

Returns a specific translation key based on an item's difficulty value.

Usage

difficulty_label_key(p)

Value

A character string (translation key).

Arguments

p

A numeric item difficulty value.

Examples

Run this code
difficulty_label_key(0.3) # Hard
difficulty_label_key(0.7) # Medium
difficulty_label_key(0.9) # Easy

Run the code above in your browser using DataLab