dd.plot {depth.plot} | R Documentation |
Depth-Depth Plots
Description
dd.plot
is a multivariate genralization of a normal QQ-plot
.
It produces a DD-plot of two datasets.
Usage
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 |
ylab |
Plot labels. The |
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
Examples
u<-matrix(rnorm(300,1,4),ncol=3)
dd.plot(u)
[Package depth.plot version 0.1 Index]