Gaussian.tolerance: Bell-shaped tolerance function

Description Usage Arguments Details Value See Also

View source: R/Gaussian.tolerance.R

Description

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

Usage

1
2
3
4
5
6
7
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


comsimitv documentation built on July 17, 2021, 5:07 p.m.