An array of death rates for the structured population, of length n
Gs
An array of growth rates for the structured population, of length n-1
Rs
Either the seed production rate of adults in the population, or an array of seed production rates, of length n.
dispersal
Dispersal distances
radius
Optional (use if there are any interactions). Either one radius of
interactions or an array of interaction radiuses, of length n.
stress
Optional (use to create a stress gradient). An array of
values of stress gradient slope. The full value will be added to death rate at the right
of the plot, half value at the middle of the plot, and so on, proportionally.
# NOT RUN {# create a sample parameterscreate.parameters(n=3)
# structure parameters from arrayscreate.parameters(Ds=c(10,5,2),Gs=c(2,2),Rs=20,radius=2)
# }