Creates a vector of randomly-generated colors.
rcolors(n)
n
Vector length
A vector of colors
Matt Tyers
n <- 1000 cols <- rcolors(n) x <- runif(n) y <- runif(n) plot(x,y, col=cols, pch=16)