Learn R Programming

AntMAN (version 1.1.0)

AM_clustering: Return the clustering matrix

Description

Given an AM_mcmc_output object, this function returns the clustering matrix.

Usage

AM_clustering(fit)

Arguments

fit

an AM_mcmc_output object.

Value

A numeric clustering matrix

Details

The clustering matrix is an M by n matrix. Each of the M rows represents a clustering of n items using cluster labels. Items i and j are in the same cluster if fit[m,i] == fit[m,j] for the mth clustering.

See Also

AM_coclustering

Examples

Run this code
# NOT RUN {
fit = AM_demo_uvp_poi()$fit
ccm <- AM_clustering(fit)
# }

Run the code above in your browser using DataLab