The goal of melluxdrc
is to allow generation of virtual dose-response
type data typical in melatonin suppression experiments.
You can install melluxdrc
via:
devtools::install_github("mellux-project/melluxdrc")
This shows how to generate simulated experimental dose-response data, then plots it.
library("melluxdrc")
# generate dose-response data for 41 individuals measured at four lux levels
experimental_data <- virtual_experiment(n=41, 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.