Create colours for a response scale for an item
biDimColors(start, mid, end, length, show = TRUE)uniDimColors(start, end, length, show = TRUE)
uniDimColors(start, end, length, show = TRUE)
Color to start with
Color in the middle, for bidimensional scales
Color to end with
The number of response options
Whether to show the colours
The colours as hex codes.
# NOT RUN { uniDimColors("#000000", "#00BB00", length=5, show=FALSE); # }
Run the code above in your browser using DataLab