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

binomdist

Creates an Object Representing Binomial Distribution.


Description

The function creates an object which represents the binomial distribution.

Usage

binomdist(size = 10, prob = 0.5)

Arguments

size

size parameter, default: 10.

prob

probability parameter, default: 0.5.

Details

See Binomial.

Value

Object of class binomdist.

See Also

Examples

B <- binomdist(10, 0.4)
d(B, c(2, 3, 4, NA))
r(B, 5)

mistr

Mixture and Composite Distributions

v0.0.4
GPL-3
Authors
Lukas Sablica [aut, cre] (<https://orcid.org/0000-0001-9166-4563>), Kurt Hornik [aut] (<https://orcid.org/0000-0003-4198-9911>)
Initial release

We don't support your browser anymore

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