initialize,dmbc_ic-method {dmbc}R Documentation

Create an instance of the dmbc_ic class using new/initialize.

Description

Create an instance of the dmbc_ic class using new/initialize.

Usage

## S4 method for signature 'dmbc_ic'
initialize(
  .Object,
  logprior = matrix(),
  logmlik = matrix(),
  logcorrfact = matrix(),
  DCIC = matrix(),
  post.est = list(),
  est = character(),
  res_last_p = list()
)

Arguments

.Object

Prototype object from the class dmbc_ic.

logprior

An object of class matrix providing the log-prior values corresponding to different values of p and G.

logmlik

An object of class matrix providing the marginal log-likelihood values corresponding to different values of p and G.

logcorrfact

An object of class matrix providing the logarithm of the correction factors corresponding to different values of p and G.

DCIC

An object of class matrix providing the values of the DCIC index corresponding to different values of p and G.

post.est

An object of class list; named list with elements representing the parameter estimates corresponding to different values of p and G.

est

A length-one character vector representing the estimate type used in computing the DCIC index. Possible values are mean, median, ml and map. See dmbc_ic() for more details about these values.

res_last_p

An object of class list; list of dmbc_fit_list objects with the results of fitting the DMBC models corresponding to the last value of p. This is needed in case of an update of the DCIC calculations using additional p and/or G values.

Author(s)

Sergio Venturini sergio.venturini@unicatt.it


[Package dmbc version 1.0.2 Index]