The Bernoulli distribution
Density, distribution function, quantile function and random generation for the Bernoulli distribution.
dbern(x, prob, log = FALSE) qbern(p, prob, lower.tail = TRUE, log.p = FALSE) pbern(q, prob, lower.tail = TRUE, log.p = FALSE) rbern(n, prob)
x |
numeric. Vector of quantiles. |
prob |
Probability of success on each trial. |
log |
logical. If |
p |
numeric in |
lower.tail |
logical. If |
log.p |
logical. If |
q |
numeric. Vector of quantiles. |
n |
number of observations.
If |
See the help page of the Binomial
distribution.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.