(This article was originally published at Adventures in R, and syndicated at StatsBlogs.)
I am sure it is out there but for my record keeping purposes and for anyone interested here is a quick function to find Stirling’s approximation of all possible permutations
Stirling<- function (n)((2*pi*n)^.5)*(n/exp(1))^n
Created by Pretty R at inside-R.org
Please comment on the article here: Adventures in R
