| beta_inc | R Documentation |
Computes the incomplete beta function
I_x(a,b):=\int_0^x u^{a-1}(1-u)^{b-1}\,d\mathrm{u},\quad a,b>0
and its inverse function.
beta_inc(x, a, b, lower_tail = TRUE, log = FALSE)
beta_inc_inv(u, a, b, lower_tail = TRUE, log = FALSE)
x |
a vector of size |
a, b |
scalars giving the parameters of the beta function. |
lower_tail |
accumulate the probability from the lower tail? If
|
log |
use log-scale? If |
u |
a vector of probabilities of size |
The functions are mere wrappers to R's internal pbeta and
qbeta functions.
beta_inc: a matrix of size c(nx, 1) with the
evaluation of the incomplete beta function at x.
beta_inc_inv: a matrix of size c(nu, 1) with the
evaluation of the inverse incomplete beta function at u.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.