The resource parameters r_pp and n are used to set the intrinsic
replenishment rate \(r_R(w)\) for the resource at size \(w\) to
$$r_R(w) = r_{pp}\, w^{n-1}.$$
The resource parameters kappa, lambda and w_pp_cutoff are used to set
the intrinsic resource carrying capacity capacity \(c_R(w)\) at size \(w\)
is set to
$$c_R(w) = \kappa\, w^{-\lambda}$$
for all \(w\) less than w_pp_cutoff and zero for larger sizes.
If you use the default semichemostat dynamics for the resource then these
rates enter the equation for the resource abundance density as
$$\frac{\partial N_R(w,t)}{\partial t} = r_R(w) \Big[ c_R (w) - N_R(w,t) \Big] - \mu_R(w, t) N_R(w,t)$$
where the mortality \(\mu_R(w, t)\) is
due to predation by consumers and is calculate with getResourceMort().
You can however set up different resource dynamics with
resource_dynamics<-().