Description Usage Arguments Details Value Examples
This building block defines a model variable as a function of other variables.
1 | algebraic(definition)
|
definition |
A definition of the model variable |
Algebraic relationships are equations where one variable is defined as a function of multiple other variables. assemblerr uses R formulas to implement these equations. For example, the Emax dose response model
effect=emax*dose/(ed50 + dose)
could be declared as
1 | algebraic(effect~emax*dose/(ed50+dose))
|
where the tilde ~
replaced the equal sign =
in the definition.
A building block of type 'algebraic'
1 2 3 4 5 6 | m <- model() +
input_variable("dose") +
prm_log_normal("emax", 10, 0.3) +
prm_no_var("ed50", 5) +
algebraic(effect~emax*dose/(ed50+dose)) +
obs_additive(~effect)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.