ino.colors: The inoculation colors vector

Description Usage Arguments Value See Also Examples

Description

Create a color vector.

Usage

1
ino.colors(n, alpha = 1)

Arguments

n

number of colors, usually equal to (or greater that) the number of desease grades.

alpha

the alpha transparency, a number in [0,1]

Value

a vector of contiguous colors.

See Also

aid and grade.barplot.

Examples

1
2
ino.colors(10)
plot(1:5, pch = 16, col = ino.colors(5), cex=3)

wangqinhu/aid documentation built on May 4, 2019, 12:58 a.m.