stirling: Number of Stirling of second kind

Description Usage Arguments Details Value

View source: R/clustering.R

Description

Take an integer and return the number of Stirling of second kind, that is the number of all possible partitions into k clusters among n components.

Usage

1

Arguments

n

a positive integer. This corresponds to the size of set, that is the number of components that belong to the set.

Details

None.

Value

Return a vector of integer. The names are the number k of clusters. The values are the number of partitions into k clusters possibly combinated with n components.


functClust documentation built on Dec. 2, 2020, 5:06 p.m.