Learn R Programming

NPflow (version 0.9.0)

similarityMat: Computes the coclustering (or similarity) matrix

Description

Computes the coclustering (or similarity) matrix

Usage

similarityMat(c, step = 1)

Arguments

c
a list of vector of length n. c[[j]][i] is the cluster allocation of observation i=1...n at iteration j=1...N.
step
provide coclustering every step iterations. Default is 1.

Value

  • A matrix of size n x n whose term [i,j] is the proportion of MCMC iterations where observation i and observations j are allocated to the same cluster.