plot.sjSDManova {sjSDM}R Documentation

Plot anova results

Description

Plot anova results

Usage

## S3 method for class 'sjSDManova'
plot(
  x,
  y,
  type = c("McFadden", "Deviance", "Nagelkerke"),
  internal = FALSE,
  add_shared = FALSE,
  cols = c("#7FC97F", "#BEAED4", "#FDC086"),
  alpha = 0.15,
  env_deviance = NULL,
  suppress_plotting = FALSE,
  ...
)

Arguments

x

anova object from anova.sjSDM

y

unused argument

type

deviance, Nagelkerke or McFadden R-squared

internal

logical, plot internal or total structure

add_shared

Add shared contributions when plotting the internal structure

cols

colors for the groups

alpha

alpha for colors

env_deviance

environmental deviance

suppress_plotting

return plots but don't plot them

...

Additional arguments to pass to plot()

The internal = TRUE plot was heavily inspired by Leibold et al., 2022

Value

List with the following components:

If internal=TRUE:

plots

ggplot objects for sites and species.

data

List of data.frames with the shown results.

else:

VENN

Matrix of shown results.

References

Leibold, M. A., Rudolph, F. J., Blanchet, F. G., De Meester, L., Gravel, D., Hartig, F., ... & Chase, J. M. (2022). The internal structure of metacommunities. Oikos, 2022(1).


[Package sjSDM version 1.0.5 Index]