View source: R/adaptive_sampling.R
get_grid | R Documentation |
Internal helper to generate a sequence of values for a parameter. The grid is centered on the parameter's Maximum Likelihood Estimate (MLE), which is found by calculating the mode of its weighted marginal distribution.
get_grid(samples, param, num_points, start_factor, end_factor)
samples |
Data frame of parameter samples with an NLL column. |
param |
Character name of the parameter column. |
num_points |
Integer number of points for the grid. |
start_factor |
Numeric factor for grid's lower boundary relative to MLE. |
end_factor |
Numeric factor for grid's upper boundary relative to MLE. |
A numeric vector of grid points.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.