Learn R Programming

DepthProc (version 1.0.1)

plot: Method for plotting DepthCurve and DDPlot object.

Description

Plot Depth curve

Usage

plot(x, y, ...)

## S3 method for class 'DDPlot,ANY': plot(x)

## S3 method for class 'DepthCurve,ANY': plot(x)

## S3 method for class 'DepthCurveList,ANY': plot(x)

Arguments

x
object that inherits from DepthCurve class (ScaleCurve or AsymmetryCurve), or DDPlot class.
y
the y coordinates of points in the plot, optional if x is an appropriate structure.
...
Arguments to be passed to methods, such as graphical parameters (see par). Many methods will accept the following arguments: [object Object],[object

Examples

Run this code
x = mvrnorm(n = 100, mu = c(0,0), Sigma = 3*diag(2))
sc = scaleCurve(x)
plot(sc)

Run the code above in your browser using DataLab