cluster: Wrapper around C++ 'iterate_*()' functions

Description Usage Value

View source: R/spatialCluster.R

Description

Wrapper around C++ iterate_*() functions

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
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


BayesSpace documentation built on Nov. 8, 2020, 8:03 p.m.