summary.gmjmcmc {FBMS} | R Documentation |
Function to print a quick summary of the results
Description
Function to print a quick summary of the results
Usage
## S3 method for class 'gmjmcmc'
summary(
object,
pop = "best",
tol = 1e-04,
labels = FALSE,
effects = NULL,
data = NULL,
verbose = TRUE,
...
)
Arguments
object |
The results to use |
pop |
The population to print for, defaults to last |
tol |
The tolerance to use as a threshold when reporting the results. |
labels |
Should the covariates be named, or just referred to as their place in the data.frame. |
effects |
Quantiles for posterior modes of the effects across models to be reported, if either effects are NULL or if labels are NULL, no effects are reported. |
data |
Data to merge on, important if pre-filtering was used |
verbose |
If the summary should be printed to the console or just returned, defaults to TRUE |
... |
Not used. |
Value
A data frame containing the following columns:
feats.strings |
Character representation of the features ordered by marginal probabilities. |
marg.probs |
Marginal probabilities corresponding to the ordered feature strings. |
Examples
result <- gmjmcmc(matrix(rnorm(600), 100), P = 2, gaussian.loglik, NULL, c("p0", "exp_dbl"))
summary(result, pop = "best")
[Package FBMS version 1.1 Index]