Learn R Programming

pmc (version 0.0-8)

compute_regimes: internal method for computing the regimes used by format_data()

Description

internal method for computing the regimes used by format_data()

Usage

compute_regimes(tree, traits, species_names, regimes)

Arguments

tree
ouch-formated phylogenetic tree
traits
ouch-formated data set
species_names
for all the nodes
regimes
list in ouch format

Value

  • a list of the regimes as edge-labels for ape's phylo format