Learn R Programming

glmBfp (version 0.0-60)

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

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

getLogGPrior(gPrior)

Arguments

gPrior

the gPrior argument passed to glmBayesMfp

Value

The R function.