initialise.memberships: Initialise parameters for Expectation-Maximisation algorithm

Description Usage Arguments Value Examples

View source: R/initialise.R

Description

Initialise the cluster membership matrix for the Expectation-Maximisation algorithm for fitting a mixture of Gaussians.

Usage

1
initialise.memberships(x, groups, method = c("kmeans", "hclust"))

Arguments

x

A data frame containing continuous data.

groups

The number of groups.

method

The method to give initial clustering.

Value

A groups x nrow(x) matrix of 0/1 entries denoting cluster membership.

Examples

1
2

markajoc/MBCbigP documentation built on July 12, 2017, 12:23 a.m.