View source: R/gurobimodelinit.R
gurobi model initializer for proximal bayesian trendfiltering
1 | gurobimodelinit(x, w, restrictions, k)
|
x |
predictor (must be strictly increasing!) |
w |
weight of x |
restrictions |
a collection of shape restrictions, including 'increasing','decreasing','convex','concave' |
k |
order of piecewise polynomial; 1 linear, 2 quadratic, 3 cubic;k=0 and k>=4 not recommended |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.