View source: R/dose-response.R
logistic_noise | R Documentation |
Adds noise on the logit scale, resulting in more realistic (noisy) data for a given patient.
logistic_noise(sigma, p1, p2, lux = c(10, 30, 50, 100, 200, 400, 2000))
sigma |
a noise level (represents additive Gaussian noise on logit scale) |
p1 |
the log of the ed50 lux |
p2 |
a positive shape parameter |
lux |
a vector of lux values which defaults to c(10, 30, 50, 100, 200, 400, 2000) |
a tibble of paired lux and melatonin suppression values
noise_logit
logistic_noise(1, 1.3, 4.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.