poch | R Documentation |
Compute the Pochhammer Symbol (Rising Factorials) With Increment
poch(x, y = NULL, n = 1, log = FALSE)
x |
Non-negative numeric value |
y |
Non-negative real value representing increment parameter for
Pochhammer function. If |
n |
Non-negative integer representing subscript in Pochhammer symbol |
log |
Logical value indicating whether to return results on log scale |
A numeric value indicating the result of Pochhammer function.
# effect of increment parameter poch(5, y = NULL, n = 3, log = FALSE) poch(5, y = 1, n = 3, log = FALSE) poch(5, y = 1:4, n = 3, log = FALSE) # increment being NULL is equivalent to ratio of gamma functions a <- 7 b <- 3 out1 <- poch(a, y = NULL, n = b, log = FALSE) out2 <- gamma(a + b) / gamma(a)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.