Generates a table of the top models from a Reversible Jump Results object.

TopModels(
  results,
  n.top.models = 20,
  covariates.to.include = NULL,
  remove.empty.cols = TRUE
)

Arguments

results

A R2BGLiMS R2BGLiMS_Results-class object frum running the R2BGLiMS R2BGLiMS command.

n.top.models

number of top models to include in the table (default 20).

covariates.to.include

Character vector indicating a subset of covariates to calculate marginal posterior combinations for. NOTE: Not yet implemented for enumeration.

remove.empty.cols

Check NULL values.

Value

Ordered table of best models, with corresponding posterior probabilities. If JAM was run with multiple covariate blocks, a list of model tables is returned.

Author

Paul Newcombe