afac {betafunctions} | R Documentation |
Ascending (rising) factorial.
Description
Calculate the ascending (or rising) factorial of a value x
of order r
.
Usage
afac(x, r, method = "product")
Arguments
x |
A value for which the ascending factorial is to be calculated. |
r |
The power |
method |
The method by which the descending factorials are to be calculated. Default is |
Value
The ascending factorial of value x
raised to the r
'th power.
Examples
# To calculate the 4th ascending factorial for a value (e.g., 3.14):
afac(x = 3.14, r = 4)
# To calculate the 5th ascending factorial for values 3.14, 2.72, and 0.58:
afac(x = c(3.14, 2.72, 0.58), r = 5)
[Package betafunctions version 1.9.0 Index]