# To run the simulation with default parameters:
result <- simulate_Vector_transmission_model_ode()
# To choose values other than the standard one, specify them like this:
result <- simulate_Vector_transmission_model_ode(Sh = 2000,Ih = 2,Rh = 0,Sv = 2000,Iv = 2)
# You can display or further process the result, like this:
plot(result$ts[,'time'],result$ts[,'Sh'],xlab='Time',ylab='Numbers',type='l')
print(paste('Max number of Sh: ',max(result$ts[,'Sh'])))
Run the code above in your browser using DataLab