contract_grid | R Documentation |
Contract the grid if the evaluation points exceed some threshold. This removes the corresponding z values. We can add points back to achieve the same (approximate) length.
contract_grid(z, Fz, lower, upper, add_back = TRUE, monotone = TRUE)
z |
grid points (ordered) |
Fz |
function evaluated at those grid points |
lower |
lower threshold at which to check Fz |
upper |
upper threshold at which to check Fz |
add_back |
logical; if true, expand the grid to (about) the original size |
monotone |
logical; if true, enforce monotonicity on the expanded grid |
a list containing the grid points z
and the (interpolated) function
Fz
at those points
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.