getGenerator {glmBfp} | R Documentation |
Internal helper function which gets the generator (and normalizing constant)
getGenerator(method, unnormDensFun, xVals, unnormDensVals)
method |
the methods string |
unnormDensFun |
the unnormalized density function |
xVals |
the x values |
unnormDensVals |
the unnormalized density values |
a list with the elements “generator” and “normConst”,
containing the generator function (with argument n
for the number
of samples) and the normalizing constant of the density, respectively.
Daniel Sabanes Bove daniel.sabanesbove@ifspm.uzh.ch