Learn R Programming

zetadiv (version 1.2.1)

Plot.zeta.scale.min.dist: Plotting of zeta diversity scaling with sample grain dependency based on the minimum distance between sites

Description

Plots the output of the function Zeta.scale.min.dist.

Usage

Plot.zeta.scale.min.dist(
  zeta.scale.irreg,
  size.init = 1,
  add = FALSE,
  ylim = NULL,
  col = "black"
)

Arguments

zeta.scale.irreg

A list generated by the function Zeta.scale.min.dist.

size.init

Initial size of the plots before aggregation.

add

Boolean value indicating if the graph must be plotted in a new graphics device or added to the active one.

ylim

Numeric vectors of length 2, giving the range of y values.

col

String indicating the color of the graph.

Value

A plot of the zeta diversity scaling with the mapping grain m (the number of sites combined to generate data at a coarser grain) on the x-axis and the value of zeta on the y-axis.

References

Hui C. & McGeoch M.A. (2014). Zeta diversity as a concept and metric that unifies incidence-based biodiversity patterns. The American Naturalist, 184, 684-694.

Scheiner S.M., Chiarucci A., Fox G.A., Helmus M.R., McGlinn D.J. & Willig M.R. (2011). The underpinnings of the relationship of species richness with space and time. Ecological Monographs, 81, 195-213.

See Also

Zeta.decline.mc, Zeta.order.mc, Zeta.decline.ex, Zeta.order.ex,

Zeta.scale.min.dist, rescale.regular, Zeta.scale.regular, rescale.regular,

Plot.zeta.scale.regular

Examples

Run this code
# NOT RUN {
utils::data(Marion.species)
xy.marion <- Marion.species[,1:2]
data.spec.marion <- Marion.species[,3:33]

zeta.scale.irreg.species <- Zeta.scale.min.dist(xy.marion, data.spec.marion, m = 1:3,
    order = 3, reorder = 3, sam = 50, normalize = "Jaccard",plot=FALSE)
dev.new()
Plot.zeta.scale.min.dist(zeta.scale.irreg.species)
# }

Run the code above in your browser using DataLab