First of all, I am beginner in R. I am trying to model a population of bullfrogs (deterministic model). I want to evaluate and plot the effects of decreasing the fecundity (of adults) on the population growth rate and survival rates of each life stage. I managed to plot the growth rate of the population but I can't figure out how to properly reduce the fecundity rate using the sensitivity analysis. Not much information can be found on the internet about this subject. I tried the following code (based on the example that can be found in the vignette), but I am not quite sure what number represents the lowering of the fecundity rate. Suppose that I want to lower the fecundity rate by 10%, how should the code look? The matrix looks like this:
|0|0|0|0|0|2082|
|0.369|0|0|0|0|0|
|0|0.232|0|0|0|0|
|0|0|0.207|0|0|0|
|0|0|0|0.047|0|0|
|0|0|0|0|0.042|0.32|
Only the adult fecundity is known (which is 2082). This is the code I tried:
lambda_delta <- numeric(length(delta))
for(i in 1:length(delta)){
Frog_delta[1, 6] <- data[1, 6] + delta[i]
lambda_delta[i] <- eigs(Frog_delta, "lambda")
}