Learn R Programming

distributional (version 0.1.0)

dist_bernoulli: The Bernoulli distribution

Description

stable

Usage

dist_bernoulli(prob)

Arguments

prob

The probability of success on each trial.

Examples

Run this code
# NOT RUN {
dist_bernoulli(prob = c(0.05, 0.5, 0.3, 0.9, 0.1))

# }

Run the code above in your browser using DataLab