get_grid {topolow}R Documentation

Create Grid Around Maximum Likelihood Estimate

Description

Generates a sequence of values centered on the maximum likelihood estimate (MLE) of a parameter, extending by specified factors in each direction.

Usage

get_grid(samples, param, num_points, start_factor, end_factor)

Arguments

samples

Data frame of MCMC samples with NLL column

param

Character name of parameter column

num_points

Integer number of points in grid

start_factor

Numeric factor for lower bound relative to MLE

end_factor

Numeric factor for upper bound relative to MLE

Value

Numeric vector of grid points


[Package topolow version 1.0.0 Index]