hexcols: Generate diverging colors in HCL colour space.

Description Usage Arguments Value Author(s) Examples

View source: R/hexcols_rescale.R

Description

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

Usage

1

Arguments

x

An object of class metaMDS

Value

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

Author(s)

Barnabas H. Daru darunabas@gmail.com

Examples

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

phyloregion documentation built on May 1, 2021, 9:06 a.m.