View source: R/shiny_endo_plot.R
shiny_endo_plot | R Documentation |
shiny_plot
shiny_endo_plot( parameters = params, endo_species = 2, endo_number = 1, tmax = 2500, kmax = NA, colours = c("blue", "orange", "red"), ylabel = "Proportion infected", xlabel = "Timesteps" )
parameters |
: parameter combinations that will be simulated |
endo_species |
: number of endosymbiont species no |
endo_number |
: number of individuals per species |
tmax |
: max number of timesteps |
colours |
: vector of colours to be included in the graph |
host_dem |
: if TRUE, host demographics (speciation, and extinction) will be included in the simulation. |
A shiny application line graph of number of hosts with intracellular endosymbionts within the system at each timestep at each parameter combination.
params <- set_parameters(two_species = TRUE,K = 200,lambda = 1,mu = 0.5,betaA =0.001,betaB = 0.001,sigmaA = 0.1,sigmaB = 0.1,sigmaAB = 1,sigmaBA = seq(0, 1, 0.1),nuA = 0.01,nuB = 0.01) shiny_plot(parameters = params, endo_species = 2, endo_number = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.