grapes-greater-than-grapes: Add a tree at the bottom of a chain

Description Usage Arguments Value Examples

Description

The function %->% links the rooted tree e2 to the bottom of the chain e1.

Usage

1
e1 %->% e2

Arguments

e1

A chain.

e2

A rooted tree.

Value

A rooted tree.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Chain
(tr0 = c_("Bob", "Carl", "Daniel"))

## Rooted tree
(tr1 = c_("Bill", "Caroline", "Dimitri", "Enoc"))
(tr2 = c_("John", "Thomas"))
(tr3 = r_("Alice", s = list(tr1, tr2))) 

## Linking both
tr0 \%->\% tr3

paulponcet/oak documentation built on May 14, 2019, 7:21 p.m.