calculate_selected_category | R Documentation |
This function calculates the selected category based on a given value and the total number of categories.
calculate_selected_category(value, num_categories)
value |
The value to calculate the category for. |
num_categories |
The total number of categories. |
The calculated selected category.
selected_category <- calculate_selected_category(0.3, 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.