Learn R Programming

distributional (version 0.1.0)

dist_binomial: The Binomial distribution

Description

stable

Usage

dist_binomial(size, prob)

Arguments

size

The number of trials.

prob

The probability of success on each trial.

Examples

Run this code
# NOT RUN {
dist_binomial(size = 1:5, prob = c(0.05, 0.5, 0.3, 0.9, 0.1))

# }

Run the code above in your browser using DataLab