| piecewise | R Documentation |
Piecewise-linear expression using native Biogeme naming rules
piecewise(
expression,
thresholds,
betas = NULL,
transform = c("formula", "variable")
)
expression |
Variable expression. |
thresholds |
Piecewise thresholds; only endpoints may be NULL. |
betas |
Optional list of parameter expressions. |
transform |
Whether to return the full formula or the transformed variable form. |
A Biogeme expression.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.