plot_doseresponse | R Documentation |
Plots simulated data and dose-response curves for a population
plot_doseresponse(experiment_df, plot_curves = TRUE)
experiment_df |
a simulated population |
plot_curves |
a Boolean indicating whether to plot the true dose-response curves |
a ggplot object
# generate dose-response data for n=200 individuals measured at four lux levels experimental_data <- virtual_experiment(n=200, lux=c(1, 10, 100, 1000)) # plot data plot_doseresponse(experimental_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.