Description Usage Arguments Value Examples
View source: R/bounce-monotone-boundary.R
This function helps if COLS gets stuck in flat spots of the constraint boundary. It will bounce the starting point towards an inner point of the constrained region.
1 | bounce_monotone(gam, Y, Xo, poly_basis, oracle_fun, region, basis_cv, control)
|
gam |
gamma iterate (should be on boundary of monotonicity) |
Y |
Y data |
Xo |
Orthonormal X design matrix |
poly_basis |
Polynomial basis for gamma |
oracle_fun |
Monotonicity oracle function |
region |
Region of monotonicity constraint |
basis_cv |
converter function for polynomial basis |
control |
control list created by |
new gamma estimate or original if no better soluton found
1 | #To do
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.