cluster {BayesSpace} | R Documentation

## Wrapper around C++ `iterate_*()` functions

### Description

Wrapper around C++ `iterate_*()` functions

### Usage

    cluster(
      Y,
      q,
      df_j,
      init = rep(1, nrow(Y)),
      model = c("t", "normal"),
      precision = c("equal", "variable"),
      mu0 = colMeans(Y),
      lambda0 = diag(0.01, nrow = ncol(Y)),
      gamma = 3,
      alpha = 1,
      beta = 0.01,
      nrep = 1000
    )

### Value

List of clustering parameter values at each iteration

[Package BayesSpace version 1.4.1 Index]