is.unit.tree: Check if object is a unit.tree

View source: R/as.unit.tree.R

is.unit.treeR Documentation

Check if object is a unit.tree

Description

Utility function for checking if object is of class 'unit.tree'

Usage

is.unit.tree(x)

Arguments

x

object

Value

logical

See Also

make_unit_tree

Examples

## finch data
data(finch)
phy <- finch$phy
data <- finch$data[,"wingL"]


## using just the given phylogeny
unit.tree.phy <- make_unit_tree(phy, data=data)

is.unit.tree(unit.tree.phy)


mwpennell/arbutus documentation built on Oct. 6, 2022, 10 a.m.