Converts numeric values into an array of icons, ideal for ratings.

rt_rating_icons(rating, icon = "star", color = "orange", max_rating = 5)

Arguments

rating

Number, from cell's value.

icon

String containing the name of the icon to be used. Icons defined with shiny::icon()

color

String containing color definition in hex format.

max_rating

Number of maximum rating.

Value

An array of n icons and a tooltip showing the original value.