qbern | R Documentation |
The quantile function qbern
for a Bernoulli distribution, with success
probability prob
. This is equivalent to qbinom(p, 1, prob)
.
qbern(p, prob, lower.tail = TRUE, log.p = FALSE)
pbern(q, prob, lower.tail = TRUE, log.p = FALSE)
dbern(x, prob, log = FALSE)
p |
vector of probabilities |
prob |
probability of success |
lower.tail, log.p, log |
see stats::Binomial |
x, q |
vector of quantiles |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.