Learn R Programming

phyloland (version 1.3)

PLD_plot_trees: Plot sampled trees

Description

Function that plots sampled trees with their locations.

Usage

PLD_plot_trees(x, sub_sample = 0, one_plot = FALSE)

Arguments

x
an object of class "phyloland" generated by a call to PLD_interface.
sub_sample
a vector of integers that specifies the indexes of the tree(s) to plot. Default is 0, all the trees are plotted.
one_plot
a logical value. Default is FALSE, the trees are plotted one after the other. If TRUE the trees are plotted on the same device.

Examples

Run this code
data(Banza)
PLD_plot_trees(x = Banza, sub_sample = 1)
PLD_plot_trees(x = Banza, sub_sample = 100:105)

Run the code above in your browser using DataLab