powered by
double factorial function
ldfactorial(x)dfactorial(x)
dfactorial(x)
a numeric scalar or vector
dfactorial(x) returns the double factorial, that is \(x\!\! = 1 * 3 * 5 * \ldots * x \) and ldfactorial(x) is the natural logarithm of it.
ldfactorial(x)
factorial, howmanytrees
factorial
howmanytrees
# NOT RUN { dfactorial(1:10) # }
Run the code above in your browser using DataLab