make.dispRity {dispRity} | R Documentation |
Make and fill dispRity
.
Description
Creating an empty dispRity
object from a matrix
Usage
make.dispRity(data, tree, call, subsets)
fill.dispRity(data, tree, check)
Arguments
data |
A |
tree |
Optional, a |
call |
Optional, a |
subsets |
Optional, a |
check |
Logical, whether to check the data ( |
Author(s)
Thomas Guillerme
Examples
## An empty dispRity object
make.dispRity()
## Still an empty dispRity object (with a matrix)
(empty <- make.dispRity(data = matrix(rnorm(12), ncol = 3)))
## A dispRity object with a matrix of 4*3
fill.dispRity(empty)
## A dispRity object with a tree
my_tree <- rtree(4, tip.label = c(1:4))
fill.dispRity(empty, tree = my_tree)
[Package dispRity version 1.8 Index]