dbern {statip} | R Documentation |
The Bernoulli distribution
Description
Density, distribution function, quantile function and random generation for the Bernoulli distribution.
Usage
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)
Arguments
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 Also
See the help page of the Binomial
distribution.
[Package statip version 0.2.3 Index]