This function returns the ordering of a partitioning solution...

This function returns the estimated Stirling numbers of the second kind *i.e.*, the number of ways of partitioning a set of *n* objects into *k* nonempty groups.

1 | ```
Stirling2nd(n,k)
``` |

`n` |
number of objects. |

`k` |
number of groups ( |

The Stirling number of the 2nd kind for *n* elements and *k* groups or *NaN* (if the Stirling number for those *n* and *k* is greater than 1e300).

1 2 3 4 | ```
Stirling2nd(n=3,k=2)
# Expected value=3
Stirling2nd(n=300,k=20)
# Expected value=NaN
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.