Learn R Programming

bivariate (version 0.3.0)

methods: Methods

Description

Bivariate probability distribution methods.

Usage

# S3 method for dubvpmf
plot(x, xlim, ylim, …)
# S3 method for dubvcdf
plot(x, xlim, ylim, …)
# S3 method for bnbvpmf
plot(x, xlim, ylim, …)
# S3 method for bnbvcdf
plot(x, xlim, ylim, …)
# S3 method for pbvpmf
plot(x, xmax, ymax, …)
# S3 method for pbvcdf
plot(x, xmax, ymax, …)
# S3 method for cubvpdf
plot(x, use.plot3d=FALSE, npoints=20,
    xlim, ylim, …, all=FALSE)
# S3 method for cubvcdf
plot(x, use.plot3d=FALSE, npoints=20,
    xlim, ylim, …)
# S3 method for nbvpdf
plot(x, use.plot3d=FALSE, npoints=20,
    xlim, ylim, …, all=FALSE)
# S3 method for nbvcdf
plot(x, use.plot3d=FALSE, npoints=20,
    xlim, ylim, …)
# S3 method for bmbvpdf
plot(x, use.plot3d=FALSE, npoints=30,
    xlim, ylim, …, all=FALSE)
# S3 method for bmbvcdf
plot(x, use.plot3d=FALSE, npoints=30,
    xlim, ylim, …)
# S3 method for kbvpdf
plot(x, use.plot3d=FALSE, npoints=30,
    xlim, ylim, …, all=FALSE)
# S3 method for kbvcdf
plot(x, use.plot3d=FALSE, npoints=30,
    xlim, ylim, …)

Arguments

x

A dubvpmf, dubvcdf, etc object.

use.plot3d

False by default. If true use 3d plots.

npoints

The number of grid points in each direction. Increase for a smoother surface.

xlim

The x range for the plot.

ylim

The y range for the plot.

xmax

The x range max for the plot.

ymax

The y range max for the plot.

all

False by default. If true, plot a two by two grid of both the PDF and CDF using both contour and 3d plots.

Other arguments.

Examples

Run this code
# NOT RUN {
#plot a bivariate probability distribution
dubvpmf.f = dubvpmf (0, 1, 0, 1)
plot (dubvpmf.f)
# }

Run the code above in your browser using DataLab