Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Bernoulli

The Bernoulli Distribution


Description

The quantile function qbern for a Bernoulli distribution, with success probability prob. This is equivalent to qbinom(p, 1, prob).

Usage

qbern(p, prob, lower.tail = TRUE, log.p = FALSE)

pbern(q, prob, lower.tail = TRUE, log.p = FALSE)

dbern(x, prob, log = FALSE)

Arguments

p

vector of probabilities

prob

probability of success

lower.tail, log.p, log

see stats::Binomial

x, q

vector of quantiles


multinma

Bayesian Network Meta-Analysis of Individual and Aggregate Data

v0.3.0
GPL-3
Authors
David M. Phillippo [aut, cre] (<https://orcid.org/0000-0003-2672-7841>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.