Defines a simple niche model where the niche defined is given by a lower limit (g_min) and an upper limit (g_max) of a gradient the taxon can tolerate
Value
a function describing the niche for usage with apply_niche. The function returns 1 if the taxon is within its niche (the gradient is between g_min and g_max), and 0 otherwise
See also
- snd_niche()for an alternative niche model
- discrete_niche()for defining niches based on discrete categories
- trivial_niche()to model organisms without niche specifications
- apply_niche()for the function that uses the function returned
- vignette("advanced_functionality")for details how to create user-defined niche models
