similarityMat: Computes the co-clustering (or similarity) matrix

View source: R/similarityMat.R

similarityMatR Documentation

Computes the co-clustering (or similarity) matrix

Description

Computes the co-clustering (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 co-clustering 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.

Author(s)

Boris Hejblum


borishejblum/NPflow documentation built on Feb. 2, 2024, 1:51 a.m.