plot_model | R Documentation |
Create area plots for simulations generated in "bugz"
plot_model( data = NULL, x_labs = expression(paste(sigma[A])), y_labs = "% infected", legend_labs = "Infection\n status \n AB", ind_var = "betaA", def_param_plot = NULL, colouring = c("dodgerblue4", "darkcyan", "cadetblue1"), alpha = 1, uninfected_colour = "white", def_line_colour = "grey", line_type = 1, legend_pos = "NULL", defaults = c(sigmaA == 0 & nuA == 0.005), xbreaks = NULL, ybreaks = NULL, titles = NULL, second_def_line = NULL, second_line_colour = NULL, tags = NULL, tag_pos = NULL, ticks = NULL )
data |
dataset |
y_labs |
Label for y axis |
ind_var |
desired independent variable |
def_param_plot |
default parameters to plot |
colouring |
vector for the colour gradient desired in the plot |
def_line_colour |
the colour of the line representing the default parameter |
line_type |
line type of default parameter |
legend_pos |
legend position |
defaults |
the default parameter values for the dataset |
xbreaks |
the breaks for the tick marks and number on y axis |
ybreaks |
the breaks for the tick marks and numbers on the x axis |
titles |
title for the graph |
second_def_line |
to add another line displaying a second default parameter to the plot |
second_line_colour |
colour for this second default parameter line |
tags |
tags for the plot |
Legend_labs |
Label for legend |
a 100
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.