R/reef.R
reef_boundary.Rd
This function finds the light level where the shallow and mesophotic community values are equal.
reef_boundary(Vm = 0.393, K = 13.5, a = 1.54, b = 8.92)
Vm | Passed to |
---|---|
K | Passed to |
a | Passed to |
b | Passed to |
The light value when the shallow and mesophotic community values are equal.
When the community values are equal for shallow and mesophotic communities, given a light level, a reef looks equally similar to a shallow or mesophotic reef. Changing the light level will tip the reef towards either a shallow or mesophotic community.
Strictly, this function finds the mathematical root of reef
, searching between light levels of 0.01
and 100% of surface Photosynthetically Active Radiation (PAR).
depth
can then be used to convert the boundary light level to boundry depths under different
environmental conditions.
(Tamir et al., 2019)
(Laverick et al., 2020)
# By default the function uses the shallow and mesophotic # community light relationships from (Tamir et al., 2019). boundary()#> Error in boundary(): could not find function "boundary"# You can specify your own community light relationships # by setting parameters explicitly boundary(Vm = 0.2, K = 11, a = 1.2, b = 8)#> Error in boundary(Vm = 0.2, K = 11, a = 1.2, b = 8): could not find function "boundary"