partition_gen {biclustermd}R Documentation

Generate an intial, random partition matrix with N objects into K subsets/groups.

Description

This function is used to randomly generate a partition matrix and assign rows or columns to prototypes. Must be the case that N > K.

Usage

partition_gen(N, K)

Arguments

N

Number of objects/rows in a partition matrix

K

Desired number of partitions

Value

A partition matrix.


[Package biclustermd version 0.2.3 Index]