x = seq(0, 10, by = 0.2)
f = bounded_niche(2,5)
plot(x, f(x), type = "l",
xlab = "Gradient", ylab = "Observation probability",
main = "Observation probability of taxon")
# see also
#vignette("event_data")
# for details how to use this functionality
Run the code above in your browser using DataLab