Helper function for glmBayesMfp: Returns the normalized log g prior density

Share:

Description

Returns the normalized log of the prior density on g as an R function. It is checked that the result is valid, that is that exp(f) integrates to 1 over the positive real line.

Usage

1
getLogGPrior(gPrior)

Arguments

gPrior

the gPrior argument passed to glmBayesMfp

Value

The R function.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.