randtips: Random traits - randomize traits across tips - shuffles...

Description Usage Arguments Examples

View source: R/randtips.r

Description

This is used in randomizing traits across the tips of a phylogeny so as to randomize any phylogenetic signal.

Usage

1

Arguments

w

A named vector of traits. Each element in vector must be named.

Examples

1
2
3
4
5
6
## Not run: 
tree <- pbtree(n=10)
traitvec <- fastBM(tree)
randtips(traitvec)

## End(Not run)

sckott/treeshape documentation built on May 26, 2017, 3:50 a.m.