Learn R Programming

shallot (version 0.4.6)

enumerate.partitions: Enumerate Partitions

Description

This function enumerates all possible partitions for a given number of items.

Usage

enumerate.partitions(n.items)

Arguments

n.items

An integer given then number of items to partition.

Value

A matrix of cluster labels in which each row represents a clusterings.

Details

This function returns an enumeration of the partition of n.items items.

See Also

process.samples

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
example(shallot)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab