# To calculate the 4th descending factorial for a value (e.g., 3.14):
dfac(x = 3.14, r = 4)
# To calculate the 5th descending factorial for values 3.14, 2.72, and 0.58:
dfac(x = c(3.14, 2.72, 0.58), r = 5)
Run the code above in your browser using DataLab