initialize,dmbc_config-method {dmbc}R Documentation

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

Description

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

Usage

## S4 method for signature 'dmbc_config'
initialize(
  .Object,
  Z.est = array(),
  Z.sd = array(),
  cluster = numeric(),
  est = character(),
  n = numeric(),
  S = numeric(),
  p = numeric(),
  G = numeric(),
  family = character(),
  chain = numeric(),
  labels = character()
)

Arguments

.Object

Prototype object from the class dmbc_config.

Z.est

An array containing the estimate of the latent configuration for a DMBC model.

Z.sd

An array containing the standard deviation of the latent configuration for a DMBC model.

cluster

A numeric vector providing the estimated group membership for the S subjects in the data.

est

A length-one character vector providing the estimate type returned in Z.est. Possible values are mean (posterior mean), median (posterior median), ml (maximum likelihood) and map (maximum-a-posteriori).

n

A length-one numeric vector providing the number of objects.

S

A length-one numeric vector providing the number of subjects.

p

A length-one numeric vector providing the number of latent dimensions.

G

A length-one numeric vector providing the number of clusters.

family

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

chain

A length-one numeric vector representing the ID of the MCMC chain used to compute the estimates.

labels

A character vector for the (optional) strings to use in the plots for labeling the objects.

Author(s)

Sergio Venturini sergio.venturini@unicatt.it


[Package dmbc version 1.0.2 Index]