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)
A numeric vector of grid points.
Data frame of parameter samples with an NLL column.
Character name of the parameter column.
Integer number of points for the grid.
Numeric factor for grid's lower boundary relative to MLE.
Numeric factor for grid's upper boundary relative to MLE.