Learn R Programming

distionary (version 0.1.0)

dst_binom: Binomial Distribution

Description

Makes a Binomial distribution, representing the number of successes in a fixed number of independent trials.

Usage

dst_binom(size, prob)

Value

A binomial distribution.

Arguments

size

Number of trials; single positive integer.

prob

Success probability of each trial; single numeric between 0 and 1.

Examples

Run this code
dst_binom(10, 0.6)

Run the code above in your browser using DataLab