Description Usage Arguments Value Examples
View source: R/create_equation.R
Create a model equation
1 | create_equation(equation, indexes = NULL, type = c("defining", "mcc"), desc)
|
equation |
a string with the equation expression. |
indexes |
a vector with index and sets specifications. Example: "c in COM". |
type |
the equation type: "defining" or "mcc". |
desc |
equation description. |
A named list with the values and type for the variable.
1 2 3 4 5 6 | create_equation(
equation = "x[c] = alpha * M / p[c]",
indexes = "c in COM",
type = "defining",
desc = "Commodity demand"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.