Learn R Programming

bivariate (version 0.3.0)

binomial: Binomial Distributions

Description

Binomial distributions. Refer to the vignette for better examples.

Usage

bnbvpmf (n, p.X, p.Y)
bnbvcdf (n, p.X, p.Y)

Arguments

n

Integer scalar, giving the number of trials.

p.X

Numeric scalar, giving the probability of the first event.

p.Y

Numeric scalar, giving the probability of the second event.

Value

These functions return functions.

See Also

bnbvpmf.f, bnbvcdf.f

Examples

Run this code
# NOT RUN {
#construct some binomial distributions
bnbvpmf.f = bnbvpmf (10, 0.5, 0.5)
bnbvcdf.f = bnbvcdf (10, 0.5, 0.5)
# }

Run the code above in your browser using DataLab