Introduction to Combinatorics

library(combinatorics)

This package helps the user to calculate the Stirling numbers of second kind for some given value of n and k.

#example-1
Stirling2(3,2)
#> [1] 3