R/sensi_plot.sensiClade.R
sensi_plot.sensiClade.Rd
Plot results from clade_phylm
and clade_phyglm
# S3 method for sensiClade sensi_plot(x, clade = NULL, ...)
x | output from |
---|---|
clade | The name of the clade to be evaluated (see details) |
... | further arguments to methods. |
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.