Learn R Programming

sensiPhy (version 0.8.5)

sensi_plot.sensiSamp: Graphical diagnostics for class 'sensiSamp'

Description

plot_samp_phylm Plot results from samp_phylm and influ_phyloglm

Usage

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

Arguments

x

output from samp_phylm

graphs

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

param

choose which model parameter should be ploted ("intercept" or "estimate")

...

further arguments to methods

Details

For 'x' from samp_phylm or samp_phyglm:

Graph 1: Estimated slopes or intercepts for each simulation across percentages of species removed. Colours represent percentage of change in comparison with the full model (blue = lower than 5, orange = between 5 and 10 and red = higher than 10). The red horizontal line represents the original slope or intercept from the full model (with all species).

Graph 2: The proportion of estimated slopes and intercepts in each category across the percentage of species removed.

Graph 3: Estimated phylogenetic model parameter for each simulation across the percentage of species removed.

Graph 4: The percentage of significant slopes or intercepts across the percentage of species removed.

See Also

ggplot, samp_phylm samp_phyglm