hexcols function

Generate diverging colors in HCL colour space.

Generate diverging colors in HCL colour space.

A function to generate colors in Hue-Chroma-Luminance colour scheme for mapping phyloregions.

hexcols(x)

Arguments

  • x: An object of class metaMDS

Returns

A range of discrete colors differentiating between phyloregions in terms of their shared relationships.

Examples

library(vegan) data(dune) c1 <- metaMDS(dune, trace = 0) hexcols(c1) plot(c1$points, pch = 21, cex = 7, bg = hexcols(c1), las = 1)

Author(s)

Barnabas H. Daru darunabas@gmail.com