getMarginalZ {glmBfp} | R Documentation |
Construct a (smooth) marginal z density approximation from a model information list
getMarginalZ(info, method = c("linear", "spline", "logspline", "normalspline", "normal"), verbose = FALSE, plot = FALSE)
info |
the model information list |
method |
method for approximating the marginal density:
This may also be a vector with more than one method names, to select the modify the preference sequence: If the first method does not work, the second is tried and so on. The normal approximation always “works” (but may give bad results). |
verbose |
Echo the chosen method? (not default) |
plot |
produce plots of the different approximation steps? (not default) |
a list with the log of the normalized density approximation (“logDens”) and the random number generator (“gen”).