Description Usage Arguments Value
View source: R/adapt_constraints.R
Constraints built with build_constraints
to incorporate the changes
when a charge is added at an index. The values in the columns cummax
,
cummin
and dirmax
are updated accordingly.
1 | adapt_constraints(constraints, index)
|
constraints |
a data frame of constraints, expected to resemble output
of |
index |
a positive integer, the index where a unit of charge is added. |
the constraints data frame with updated values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.