Learn R Programming

combinatorics (version 0.1.0)

stirling2: Prints the value of Stirling numbers of second kind

Description

Determining the Stirling number of second kind.

Usage

Stirling2(n, k)

Value

Stirling2: the determined value of Stirling numbers of second kind.

Arguments

n

the first parameter representing the number of elements in the set total.

k

the second parameter representing the number of groups to be formed.

Author

Anik Paul

Details

Stirling numbers of second kind is a very useful term used in combinatorics denoting the number of all possible groups of size k from a set of size n.

References

Bóna,Miklós(2017,ISBN 9789813148840).

Examples

Run this code
Stirling2(3,2)

Run the code above in your browser using DataLab