Learn R Programming

ShiVa (version 1.0.1)

plot.ShiftModel: Plot Method for ShiftModel Objects

Description

Plots a phylogenetic tree with trait values at the tips and highlights branches with detected shifts in optimal value (mean) and variance.

Usage

# S3 method for ShiftModel
plot(x, title = "", ...)

Value

No return value. This function is called for its side effect: a plotted tree.

Arguments

x

An object of class ShiftModel, typically returned by fit_OU_mean_var() or ShiVa().

title

A character string specifying the plot title.

...

Additional arguments passed to plot.phylo().