| stirling | R Documentation |
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.
stirling(n)
n |
a positive integer. This corresponds to the size of set, that is the number of components that belong to the set. |
None.
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.