powered by
Function to simulate the Nicholson-Bailey Parasitoid-host model
NB(R, a, T = 100, H0 = 10, P0 = 1)
the host reproductive rate
the parasitoid search efficiency
the length of simulation (number of time-steps)
initial host numbers
initial parasitoid numbers
A list of simulated Host and Parasitoid numbers
# NOT RUN { sim= NB(R=1.1,a=0.1) # }
Run the code above in your browser using DataLab