format_data: format data in ape format into ouch format

Description Usage Arguments Details Value See Also

Description

format data in ape format into ouch format

Usage

1
2
  format_data(tree, traits, species_names = NULL,
    regimes = NULL)

Arguments

tree

a phylogenetic tree of class "phylo", ape format

traits

a numeric with trait values, or a matrix or data frame of traits, rownames matching species or handed in

species_names

in the order of entries in traits, if not given in rownames.

regimes

the column in traits containing regime labels

Details

Should become an internal function to handle data conversion to ape-type

Value

the ouch-formatted tree, traits, and regimes

See Also

convert to toggle between formats, including regime paintings


cboettig/wrightscape documentation built on May 13, 2019, 2:12 p.m.