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 modeldiscrete_niche()for defining niches based on discrete categoriestrivial_niche()to model organisms without niche specificationsapply_niche()for the function that uses the function returnedvignette("advanced_functionality")for details how to create user-defined niche models
