You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of always calculating the max from the values itself, it would be a great feature to allow the user to input the max value. E.g., I have a few tables where the score is out of 10, but for some cuts, the max value is 6, so it only shows 6 icons, whereas I'd like it to show 6 out of 10.
Any way this is already doable with the current functionality by making a row not visible?
Here's a quick and dirty addition:
Adding a parameter:
function(max = NULL){
max_value <- max(floor(data[[name]] + 0.5)
if (max < max_value, na.rm = TRUE)) {
stop("`max` must be higher than your highest data value, which is {max_value}")
}
}
Instead of always calculating the max from the values itself, it would be a great feature to allow the user to input the max value. E.g., I have a few tables where the score is out of 10, but for some cuts, the max value is 6, so it only shows 6 icons, whereas I'd like it to show 6 out of 10.
Any way this is already doable with the current functionality by making a row not visible?
Here's a quick and dirty addition:
Adding a parameter:
The text was updated successfully, but these errors were encountered: