setupHazard: setupHazard function

Description Usage Arguments Value

Description

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.

Usage

1
setupHazard(dist, pars, grad = FALSE, hess = FALSE)

Arguments

dist

an object of class 'basehazardspec'

pars

parameters with which to create the functions necessary to evaluate the log posterior

grad

logical, whetether to create gradient functions for the baseline hazard and cumulative hazard

hess

logical, whetether to create hessian functions for the baseline hazard and cumulative hazard

Value

a list of functions used in evaluating the log posterior



Search within the spatsurv package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.