dfac {betafunctions} | R Documentation |
Descending (falling) factorial.
Description
Calculate the descending (or falling) factorial of a value x
of order r
.
Usage
dfac(x, r, method = "product")
Arguments
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 |
Value
The descending factorial of value x
raised to the r
'th power.
Examples
# 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)
[Package betafunctions version 1.9.0 Index]