A function to set up the baseline hazard, cumulative hazard and derivative functions for use in evaluating the log posterior. This fucntion is not intended for general use.
setupHazard(dist, pars, grad = FALSE, hess = FALSE)
a list of functions used in evaluating the log posterior
an object of class 'basehazardspec'
parameters with which to create the functions necessary to evaluate the log posterior
logical, whetether to create gradient functions for the baseline hazard and cumulative hazard
logical, whetether to create hessian functions for the baseline hazard and cumulative hazard