
This is the most commonly-used predation kernel. The log of the predator/prey mass ratio is normally distributed.
lognormal_pred_kernel(ppmr, beta, sigma)
A vector of predator/prey size ratios
The preferred predator/prey size ratio
The width parameter of the log-normal kernel
A vector giving the value of the predation kernel at each of the
predator/prey mass ratios in the ppmr
argument.
Writing the predator mass as beta
and sigma
.
This function is called from setPredKernel()
to set up the
predation kernel slots in a MizerParams object.