dd.plot: Depth-Depth Plots

Description Usage Arguments Value Author(s) See Also Examples

Description

dd.plot is a multivariate genralization of a normal QQ-plot. It produces a DD-plot of two datasets.

Usage

1
2
3
4
dd.plot(data1, data2 = rmvnorm(nrow(data1), array(0, ncol(data1)), diag(1,
  ncol(data1), ncol(data1))), main = "Normal DD-plot",
  xlab = "Sample Depths", ylab = "Normal Depths", col = "black",
  pch = 20)

Arguments

data1

A matrix or a data.frame with each row as a p-variate observation.

data2

A matrix or a data.frame (defaults to a standard independent p-variate normal).

main

Plot labels. The title of the plot.

xlab

Plot labels. The x-axis label of the plot.

ylab

Plot labels. The y-axis label of the plot.

col

The color of the points

pch

character string or vector of 1-characters or integers for plotting characters.

Value

A DD-plot of the input data

Author(s)

Somedip Karmakar <somedip@yahoo.co.in>

Omker Mahalanobish <omker.scorpio@gmail.com>

See Also

spatial.depth

Examples

1
2
u<-matrix(rnorm(300,1,4),ncol=3)
dd.plot(u)

depth.plot documentation built on May 1, 2019, 7:50 p.m.