R/ck.colors.R

Defines functions ck.colors

Documented in ck.colors

ck.colors <- function(n)
###
### create a vector of n colors
### 20-4-2010; ch
{
t.hues <- seq( 240, -30, length = n)/360
t.hues[t.hues < 0] <- t.hues[t.hues < 0] + 1
t.hues <- hsv( h = t.hues, s = 0.8, v = 1)
return(t.hues)
}

Try the constrainedKriging package in your browser

Any scripts or data that you put into this service are public.

constrainedKriging documentation built on May 2, 2019, 4:51 a.m.