plotInternalStructure {sjSDM}R Documentation

Plot internal metacommunity structure

Description

Plot internal metacommunity structure

Usage

plotInternalStructure(
  object,
  Rsquared = c("McFadden", "Nagelkerke"),
  add_shared = FALSE,
  env_deviance = NULL,
  suppress_plotting = FALSE
)

Arguments

object

anova object from anova.sjSDM

Rsquared

which R squared should be used, McFadden or Nagelkerke (McFadden is default)

add_shared

split shared components, default is TRUE

env_deviance

environmental deviance

suppress_plotting

should the plots be suppressed or not.

Plots and returns the internal metacommunity structure of species and sites (see Leibold et al., 2022). Plots were heavily inspired by Leibold et al., 2022

Value

List with the following components:

plots

ggplot objects for sites and species.

data

List of data.frames with the internal metacommunity structure.

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]