oak (version 0.2.1)

rev.rtree: Reverse a chain

Description

This function reverses the order of the nodes in a chain.

Usage

# S3 method for rtree
rev(x)

Arguments

x

A chain to be reversed.

Value

The reversed chain.

Examples

Run this code
# NOT RUN {
(tr0 = c_("Bob", "Carl", "Daniel"))
(rev(tr0))

# }

Run the code above in your browser using DataLab