Learn R Programming

zetadiv (version 1.2.0)

Plot.zeta.scale.regular: Plotting of zeta diversity scaling with sample grain using hierarchical increases in grain size

Description

Plots the output of the function Zeta.scale.regular.

Usage

Plot.zeta.scale.regular(
  zeta.scale.reg,
  size.init = 1,
  add = FALSE,
  ylim = NULL,
  col = "black"
)

Arguments

zeta.scale.reg

A list generated by the function Zeta.scale.regular.

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 n x n (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.regular, Zeta.scale.min.dist, rescale.regular,

Plot.zeta.scale.min.dist

Examples

Run this code
# NOT RUN {
utils::data(bird.spec.fine)
xy.bird <- bird.spec.fine[1:400,1:2]
data.spec.bird <- bird.spec.fine[1:400,3:192]

##sam = 25 is used here for fast execution, but a higher value is advised
zeta.scale.reg <- Zeta.scale.regular(xy.bird, data.spec.bird, n = 1:3, order = 3,
    sam = 25, normalize = "Jaccard",plot=FALSE)
dev.new()
Plot.zeta.scale.regular(zeta.scale.reg)
# }

Run the code above in your browser using DataLab