plot.SPELT: Plotting function for SPELT objects

Description Usage Arguments Value Examples

View source: R/SPELT_functions.R

Description

Plots residuals from a model of lag variable contrasts ~ primary variable contrasts (through the origin), against divergence time for all species pairs. Includes details of variables used and user defined age.limit for branch lengths in the title

Usage

1
2
## S3 method for class 'SPELT'
plot(x, ...)

Arguments

x

object of class 'SPELT' from SPELT

...

Additional arguments to other methods (ignored)

Value

Plot with SPELT model as a solid line, and the 0,0 line as a dashed line

Examples

1
2
3
4
data(shorebird, package = "caper")
SPELT.results <- SPELT(shorebird.tree, shorebird.data,
                         "F.Mass", "Egg.Mass", "Species")
plot(SPELT.results)

nhcooper123/SPELT documentation built on Dec. 24, 2021, 1:28 a.m.