Description Usage Arguments Value Author(s) See Also Examples
View source: R/plot.localdepth.R
Provides DD-plot of normalized localdepth versus normalized depth.
1 2 |
x |
an object of class |
xlab |
a title for the x axis: see |
ylab |
a title for the y axis: see |
main |
an overall title for the plot: see |
mark |
points with local depth or depth greater than |
labels |
labels used to mark the points. It must have the same length as the number of rows of |
... |
graphical parameters can be given as arguments |
The function returns the x
object as invisible
.
Claudio Agostinelli and Mario Romanazzi
1 2 3 4 5 6 | set.seed(1234)
x <- rnorm(20)
tau <- quantile.localdepth(x, probs=0.2, use="volume", method="simplicial")
res <- localdepth(x,tau=tau, use="volume", method="simplicial")
plot(res, xlab="Simplicial Depth", ylab="Local Simplicial Depth", pch=20)
abline(a=0,b=1,lty="dashed")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.