sugs1D: The SUGS clustering algorithm by Wang and Dunson (2011) for 1...

Description Usage Arguments Value

Description

The SUGS clustering algorithm by Wang and Dunson (2011) for 1 dimensional data

Usage

1
sugs1D(mydata, Model)

Arguments

mydata

Data matrix with observations as rows

Model

Character string indicating whether to use PML, ML or both for model selection. "Both" defaults to PML.

Value

A matrix of cluster allocation, K the number of clusters, a matrix indicating the number of observations allocated to each cluster. The value of the model selection criteria either log PML, log ML or both.


ococrook/sugsvarsel documentation built on May 27, 2019, 12:12 p.m.