Learn R Programming

mapReasy (version 1.0)

color10: Generate sequence of colors

Description

A sequence of colors will be generated which have pattern of increasing intensity.

Usage

color10(n)

Arguments

n

No of areas needed to be colored. A minimum value of 1 to the maximum value of 10 are allowed.

Value

Vector

Details

In many scenario, including disease mapping, different areas are needed to be colored with intensity proportion to frequency (or percentage). A set of such colors will be provided to shade different regions.

See Also

map.country

Examples

Run this code
# NOT RUN {
color10(5)
# }

Run the code above in your browser using DataLab