Learn R Programming

sensiPhy (version 0.8.4)

sensi_plot.sensiInflu: Graphical diagnostics for class 'sensiInflu'

Description

plot_influ_phylm Plot results from influ_phylm and influ_phyglm

Usage

# S3 method for sensiInflu
sensi_plot(x, graphs = "all", param = "estimate", ...)

Arguments

x

output from influ_phylm

graphs

choose which graph should be printed on the output ("all", 1,2,3 or 4)

param

choose which parameter ("intercept" or "estimate" should be printed)

...

further arguments to methods

Details

For 'x' from influ_phylm or influ_phyglm:

Graph 1: Distribution of estimated slopes (estimates) or intercepts for each simulation (leave-one-out deletion). Red vertical line represents the original slope or intercept from the full model (with all species).

Graph 2: Original regression plot (\(trait~predictor\)). Standardized difference in slope or intercept is represented by a continuous size scale. The names of the most influential species (sDF > cutoff) are ploted in the graph.

Graph 3: Distribution of standardized difference in slope or intercept. Red colour indicates influential species (with a standardised difference above the value of cutoff).

Graph 4: Distribution of the percentage of change in slope or intercept.

See Also

ggplot