get.sweep.best.model: Internal function used to generate the regression...

Description Usage Arguments Value Author(s)

View source: R/get.sweep.best.model.R

Description

Internal function used to generate the regression coefficients. This function extracts the sweep(s) at which each of the top models has been visited along the MCMC run. The rank of the model(s) to look up for is a parameter of the function.

Usage

1
  get.sweep.best.model(x, models = 1)

Arguments

x

an object of class ESS.

models

a vector containing the rank of the models to look up for.

Value

A list containing a Boolean matrix (N.model rows and x\$nsweep columns), where the element i,j indicates if the i-th model (ranked according to its decreasing posterior probability) has been visited at sweep j.

Author(s)

Benoit Liquet, b.liquet@uq.edu.au,
Marc Chadeau-Hyam m.chadeau@imperial.ac.uk,
Leonardo Bottolo l.bottolo@imperial.ac.uk,
Gianluca Campanella g.campanella11@imperial.ac.uk


R2GUESS documentation built on May 2, 2019, 1:47 p.m.