View source: R/model-MuSyC-formula.R
MuSyC_formula | R Documentation |
Setup a MuSyC
synergy model formula to predict the
E0
, E1
, C1
, h1
, E2
, C2
, h2
, log10alpha
, and E3alpha
parameters.
MuSyC_formula(
treatment_1_variable = "logd1",
treatment_1_units = "Log[Molar]",
treatment_2_variable = "logd2",
treatment_2_units = "Log[Molar]",
response_variable = "response",
response_units = NULL,
predictors = 1,
...
)
treatment_1_variable |
|
treatment_1_units |
|
treatment_2_variable |
|
treatment_2_units |
|
response_variable |
|
response_units |
|
predictors |
|
... |
additional arguments passed to |
brms::brmsformula()
## Not run:
# Data has a string column drug_id with drug identifiers
# Fit a separate model for each drug
BayesPharma::MuSyC_formula(predictors = 0 + drug_id)
# Data has a string column plate_id with plate identifiers
# Estimate the change in response for each plate relative to a global
# baseline.
BayesPharma::MuSyC_formula(predictors = plate_id)
# data has columns drug_id and plate_id
# fit a multilevel model where the drug effect depends on the plate
BayesPharma::MuSyC_formula(predictors = 0 + (drug_id|plate_id))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.