Gaussian.tolerance {comsimitv}R Documentation

Bell-shaped tolerance function

Description

It calculates probability of seedling's survival from their trait related to habitat filtering and the local environment.

Usage

Gaussian.tolerance(
  trait.values,
  env,
  env.trait = "trait.a",
  sigma.a = 0.001,
  ...
)

Arguments

trait.values

Dataframe of all traits

env

Vector of environmental conditions in the local communities

env.trait

Name of trait related to environmental tolerance

sigma.a

Tolerance width (same for all species)

...

Any additional parameters

Details

It assumes that probability of seedling's survival is maximal if the local environment has the same value as its trait. Survival probability decrease as environmental value departs from the optimum according to a Gaussian (bell-shaped) curve. The speed of decrease depends on the tolerance width parameter (sigma.a).

Value

A matrix of survival probabilities, communities in rows, species/individuals in columns

See Also

tolerance


[Package comsimitv version 0.1.5 Index]