plot.ShiftModel: Plot Method for ShiftModel Objects

View source: R/ShiVa.R

plot.ShiftModelR Documentation

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 class 'ShiftModel'
plot(x, title = "", ...)

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().

Value

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


ShiVa documentation built on Aug. 22, 2025, 9:14 a.m.