Skip to contents

Uses findInterval() and SCORE_BREAKS to bucket scores and return the matching colour from SCORE_COLORS_PLOT.

Usage

score_to_color(score)

Arguments

score

Numeric vector of scores.

Value

Character vector of hex / named colours.