child: child

View source: R/AllGenerics.R

childR Documentation

child

Description

access child data

Usage

child(.data, .node, ...)

## S3 method for class 'tbl_tree'
child(.data, .node, ...)

Arguments

.data

phylo or tbl_tree object

.node

node number

...

additional parameters

Value

child data

Author(s)

Guangchuang Yu

Examples

library(ape)
tree <- rtree(4)
x <- as_tibble(tree)
child(x, 4)

tidytree documentation built on Aug. 10, 2023, 5:07 p.m.