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 Sept. 11, 2024, 6:33 p.m.