GenerateRandomClustering: Generate random clustering

View source: R/GenerateRandomClustering.R

GenerateRandomClusteringR Documentation

Generate random clustering

Description

Internal function for CICA package

Usage

GenerateRandomClustering(nElement, nClust, Prob = NULL)

Arguments

nElement

a positive integer number of elements to be clusterd

nClust

a positive integer: Number of clusters

Prob

numeric vector: Portion of elements in each cluster

Value

a numeric vector indicating the clustering


CICA documentation built on July 26, 2023, 5:51 p.m.