Learn R Programming

sensiPhy (version 0.8.4)

sensi_plot.sensiClade: Graphical diagnostics for class 'sensiClade'

Description

Plot results from clade_phylm and clade_phyglm

Usage

# S3 method for sensiClade
sensi_plot(x, clade = NULL, ...)

Arguments

x

output from clade_phylm or clade_phyglm

clade

The name of the clade to be evaluated (see details)

...

further arguments to methods.

Details

For 'x' from clade_phylm or clade_phyglm:

Graph 1: The original scatterplot \(y = a + bx\) (with the full dataset) and a comparison between the regression lines of the full dataset and the rerun without the selected clade (set by clade). For further details about this method, see clade_phylm.

Species from the selected clade are represented in red (removed species), black solid line represents the regression with the full model and red dashed line represents the regression of the model without the species from the selected clade. To check the available clades to plot, see x$sensi.estimates$clade in the object returned from clade_phylm or clade_phyglm.

Graph 2: Distribution of the simulated slopes (Null distribution for a given clade sample size). The red dashed line represents the estimated slope for the reduced model (without the focal clade) and the black line represents the slope for the full model.

See Also

clade_phylm