marginal.probs | R Documentation |
Function for calculating marginal inclusion probabilities of features given a list of models
marginal.probs(models)
models |
The list of models to use. |
A numeric vector of marginal model probabilities based on relative frequencies of model visits in MCMC.
result <- gmjmcmc(x = matrix(rnorm(600), 100),
y = matrix(rnorm(100), 100),
P = 2,
transforms = c("p0", "exp_dbl"))
marginal.probs(result$models[[1]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.