sortingtraits: Data checking and trait sorting

Description Usage Arguments Value Examples

Description

In preparation for likelihood calculation, it orders trait data according the tree tips

Usage

1

Arguments

traitinfo

data frame where first column has species ids and the second one is the trait associated information.

phy

phy phylogenetic tree of class phylo, ultrametric, fully-resolved, rooted and with branch lengths.

Value

Vector of traits

Examples

1
2
3
4
# Some data we have prepared
data(traitinfo)
data("phylo_Vign")
traits <- sortingtraits(traitinfo,phylo_Vign)

rsetienne/secsse documentation built on May 25, 2019, 5 a.m.