R/fact.R

fact <-
function(n) if(n<=1) 1 else n*fact(n-1)

Try the OOmisc package in your browser

Any scripts or data that you put into this service are public.

OOmisc documentation built on May 1, 2019, 10:17 p.m.