# NOT RUN {
# To run the simulation with default parameters just call the function:
# }
# NOT RUN {
res <- simulate_modelexploration()
# }
# NOT RUN {
# To choose parameter values other than the standard one, specify them, like such:
res <- simulate_modelexploration(tfinal=100, samples=5, samplepar='Bmax', parmin=1e1, parmax=1e5)
# You should then use the simulation result returned from the function, like this:
plot(res$dat[,"xvals"],res$data[,"Bpeak"],xlab='Parameter values',ylab='Peak Bacteria',type='l')
# }
Run the code above in your browser using DataLab