View source: R/classification.R
dfac | R Documentation |
Calculate the descending (or falling) factorial of a value x
of order r
.
dfac(x, r, method = "product")
x |
A value for which the descending factorial is to be calculated. |
r |
The power |
method |
The method by which the descending factorials are to be calculated. Default is |
The descending factorial of value x
raised to the r
'th power.
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.