powered by
This is a placeholder version of the function. It falls back to gaussian.loglik.g and raises a warning if the full function is not loaded.
gaussian.loglik.g
lm.logpost.bas(y, x, model, complex, mlpost_params = NULL)
A list with the approximate log marginal likelihood combined with the log prior (crit) and the posterior mode of coefficients (coefs)
crit
coefs
A vector containing the dependent variable
The matrix containing the precalculated features
A logical vector indicating which features are included in the model
A list of complexity measures for the features
A list of parameters for the log likelihood, supplied by the user
lm.logpost.bas(rnorm(100), cbind(1, matrix(rnorm(100))), c(TRUE, TRUE), list(oc = 1))
Run the code above in your browser using DataLab