View source: R/blrm_formula_linear.R
blrm_formula_linear | R Documentation |
blrm_formula_linear
is a convenience function
for generating a formula for blrm_trial
and
blrm_exnex
with an interaction of the form:
\eta \, \prod_{i=1}^N (d_i \big / d_i^*))
blrm_formula_linear(
ref_doses,
max_interaction_level = 2,
specific_interaction_terms = NULL
)
ref_doses |
Numeric vector of reference doses with names corresponding to drug names |
max_interaction_level |
Highest interaction order to consider
|
specific_interaction_terms |
List of custom interaction terms to generate (e.g. list(c("drug1", "drug2"), c("drug1", "drug3"))). Default: NULL |
The function returns an object of class
blrm_formula
.
ref_doses <- c(drug_A = 10, drug_B = 20)
# can be used with blrm_trial
blrm_formula_linear(ref_doses)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.