R/mf.R
mf_rainbow.Rd
# give each x a color by groups.
mf_rainbow(x, ngroup = 20)
numeric vector
a vector of color codes dependent on the value of x. in: a numeric vector. out: a vector of color.