mix_colors_for_states: Mix colors logically to produce colors for multi-area ranges

Description Usage Arguments Value Note Author(s) References See Also Examples

View source: R/BioGeoBEARS_plots_v1.R

Description

Like it says.

Usage

1
2
  mix_colors_for_states(colors_matrix,
    states_list_0based_index, exclude_null = TRUE)

Arguments

colors_matrix

A column with a color for each single area

states_list_0based_index

States list giving areas, 0-based

exclude_null

If TRUE, null ranges are excluded (however coded). Default TRUE.

Value

colors_list_for_states The colors for the ML states

Note

Go BEARS!

Author(s)

Nicholas J. Matzke matzke@berkeley.edu

References

http://phylo.wikidot.com/matzke-2013-international-biogeography-society-poster

Matzke_2012_IBS

See Also

optim

Examples

1
testval=1

Example output

Loading required package: rexpokit
Loading required package: cladoRcpp
Loading required package: ape
Loading required package: phylobase

Attaching package: 'phylobase'

The following object is masked from 'package:ape':

    edges

BioGeoBEARS documentation built on May 29, 2017, 8:36 p.m.