Description Usage Arguments Details Value
A helper function for polygram
. Creates a list of constraints out of
a formula
, ms
, ps
and s
.
1 | formulas_to_constraint_list(form, ms, s, ps)
|
form |
a formula |
ms |
segrees of Bernstein densities |
s |
split points |
ps |
connectivity constraints |
Currently supported options are:
"convex", "concave"; both together produces straight line.
"decreasing", "increasing"; both together produces uniform.
"symmetric"
mean: Takes two "arguments", one in c("=", ">=", "=<")
and a numeric
in support.
moment: Takes three "arguments", one in c("=", ">=", "=<")
, a numeric
in support, and a natural specifying the moment.
quantile: Takes three "arguments", one in c("=", ">=", "=<")
, a numeric
quantile: Takes three "arguments", one in c("=", ">=", "=<")
, a numeric
in support, and a float in (0,1) specifying the quantile.
A list containing a 1.) a constraint matrix, 2.) lower bounds and 3.) upper bounds.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.