simJamil: Simulate species abundance data following Jamil & ter Braak...

Description Usage Arguments Value Author(s)

Description

Simulate species abundance data according to stated approach or following a particular methodology.

Usage

1
2
  simJamil(n, m, x, gl = 4, randx = TRUE, tol = 0.5,
    tau = gl/2, randm = TRUE, ...)

Arguments

n

numeric; the number of samples/sites.

m

numeric, the number of species/variables.

x

numeric; values for the environmental gradient. Can be missing, in which case suitbale values are generated. See Details.

gl

numeric; gradient length in arbitrary units. The default is 4 units with gradient values ranging from -2 to 2.

randx

logical; should locations along the gradient (x) be located randomly or equally-spaced?

tol

numeric; the species tolerances. Can be a vector of length m, hence allowing for varying tolerances along the gradient x.

tau

numeric; constant that ensures some of the optima are located beyond the observed gradient end points.

randm

logical; should species optima along the gradient be located randomly or equally-spaced?

...

arguments passed on to the functions corresponding to the method used.

method

character; one of the available model choices.

Value

a matrix of n rows and m columns containing the simulated species abundance data.

Author(s)

Gavin L. Simpson


gavinsimpson/gavmisc documentation built on May 16, 2019, 10:10 p.m.