ufs (version 0.3.2)

biDimColors: Create colours for a response scale for an item

Description

Create colours for a response scale for an item

Usage

biDimColors(start, mid, end, length, show = TRUE)

uniDimColors(start, end, length, show = TRUE)

Arguments

start

Color to start with

mid

Color in the middle, for bidimensional scales

end

Color to end with

length

The number of response options

show

Whether to show the colours

Value

The colours as hex codes.

Examples

Run this code
# NOT RUN {
uniDimColors("#000000", "#00BB00", length=5, show=FALSE);
# }

Run the code above in your browser using DataLab