drc_model | R Documentation |
The Dose Response Curve (drc) package supports regression models for sigmoidal and other functional forms. This wrapper sets up a similar model to the sigmoid_model.
drc_model(
data,
formula = response ~ log_dose,
fct = drc::L.4(fixed = c(NA, NA, NA, NA), names = c("hill", "bottom", "top", "ec50")),
...
)
data |
|
formula |
|
fct |
|
... |
additional arguments passed to drc::drm |
An object of (S3) class drc
from the drc package.
## Not run:
BayesPharma::drc_model(
data = tibble::tibble(
log_dose = seq(-7, -5, length.out = 20),
mean_response = BayesPharma::sigmoid(
ac50 = -6, hill = -1, top = 1, bottom = 0, log_dose = log_dose),
response = stats::rnorm(n = 20, mean = 0, sd = 0.2)))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.