Make an Partition Matrix

Description

Make an Partition Matrix

Usage

1
membership(member, K, n, RandomNumber = 0)

Arguments

member

membership matrix

K

number of cluster

n

number of observation

RandomNumber

random number/seed used

Value

membership object

Slots

member

membership object

hard.label

hard label

Examples

1
2
#make an matrix membership
membership(K=3,n=20,RandomNumber=1234)