Learn R Programming

empirical (version 0.2.0)

plots_bivariate: Plots Bivariate

Description

Plots of multivariate probability distributions (with m=2).

Usage

# S3 method for epdfmv
plot(x, use.plot3d=FALSE,
    xlab="x1", ylab="x2", npoints=30, ..., all=FALSE)
# S3 method for ecdfmv
plot(x, use.plot3d=FALSE,
    xlab="x1", ylab="x2", npoints=30, ...)

Arguments

x

An epdfmv or ecdfmv object.

use.plot3d

If true, use a 3d plot, otherwise, use a 2d plot.

xlab

The x label.

ylab

The y label.

npoints

The number of grid points in each direction.

Other arguments.

all

If true, plot all combinations.

See Also

epdfmv, ecdfmv

Examples

Run this code
# NOT RUN {
#plot an empirical multivariate cumulative distribution function
#(with m=2)
data (trees)
attach (trees)
ecdfmv.f = ecdfmv (cbind (Height, Volume) )
plot (ecdfmv.f, TRUE)
# }

Run the code above in your browser using DataLab