inst/examples/plotsHelp.R

HostSwitch_simulated_quantities = simHostSwitch(K=1000,b=50, mig=0.001, sdm=0.2, sigma=1, pRes_min=1, pRes_max=10, n_generation=1000)


######### main plotting function #############



gg1 = plotHostSwitch(HostSwitch_simulated_quantities)
gg1

# If parasite population went extinct at an early stage it makes sense to zoom in using
#gg1 + xlim(0,100)




############ interaction plot ################

gg2 = plotHostSwitch2(HostSwitch_simulated_quantities)
gg2

Try the HostSwitch package in your browser

Any scripts or data that you put into this service are public.

HostSwitch documentation built on Sept. 27, 2021, 9:06 a.m.