Learn R Programming

bivariate (version 0.7.0)

11_PD_uniform: Uniform Distributions

Description

Bivariate uniform distributions, both discrete and continuous (on closed intervals).

Usage

#discrete
dubvpmf (
    a.X, b.X, #first variable
    a.Y, b.Y) #second variable
dubvcdf (
    a.X, b.X,
    a.Y, b.Y)

#continuous cubvpdf ( a.X, b.X, a.Y, b.Y) cubvcdf ( a.X, b.X, a.Y, b.Y)

Arguments

a.X, b.X

Integers (in the discrete case) or numeric values (in the continuous case), giving the min/max possible values of X.

a.Y, b.Y

Integers (in the discrete case) or numeric values (in the continuous case), giving the min/max possible values of Y.

Value

Self-referencing S4-based function objects.

Refer to Function Objects.

References

Refer to the vignette for an overview, references, theoretical background and better examples.

See Also

Binomial, Poisson and Categorical For other probability distributions of discrete random variables.

Normal, Bimodal, Dirichlet and Nonparametric For other probability distributions of continuous random variables.

Main Plotting Functions

Density Matrices

Examples

Run this code
# NOT RUN {
f <- dubvpmf (
    1, 4, #first variable
    1, 4) #second varaible

1 / (4 * 4)

plot (f)
f (1, 1)
# }

Run the code above in your browser using DataLab