getColors: Create a list of colors for plotKIN function

View source: R/getColors.R

getColorsR Documentation

Create a list of colors for plotKIN function

Description

The list of colors were obtained from Colorbrewer2.org using single hue. This is run within the function plotKIN()

Usage

getColors(groups, levels, colors = NULL)

Arguments

groups

The number of groups within grouping variable (i.e. species)

levels

The number of confidence intervals provided by the user

colors

Character vector of hex codes representing desired colors

Value

A character vector of RGB colors

Author(s)

Shannon E. Albeke, Wyoming Geographic Information Science Center, University of Wyoming


rKIN documentation built on Oct. 3, 2023, 1:06 a.m.