Description Usage Arguments Value Examples
Plots simulated data and dose-response curves for a population
1 | 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
1 2 3 4 5 | # 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.