Description Usage Arguments Details Value Examples
These building block declare input variables, i.e., variables that are defined in the dataset.
1 2 3 | input_variable(name)
dataset(path, use_only_filename = FALSE)
|
name |
Variable name |
path |
Dataset path |
use_only_filename |
Whether to include the path of the file |
An input variable is defined in the dataset and is declared so that it can be used in the rest of the model definition. The function
input_variable()
declares a single variable whereas the dataset()
function reads the header of the file provided and
declares all variables found.
A building block of type 'input_variable'
1 2 3 4 5 6 | m <- model() +
input_variable("dose") +
prm_log_normal("emax") +
prm_log_normal("ed50") +
obs_additive(eff~emax*dose/(ed50+dose))
render(m)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.