plmark {plgraphics} | R Documentation |
Labels for Extreme Points
Description
Determine extreme points and get labels for them.
Usage
plmark(x, y = NULL, markextremes = NULL, plabel = NULL, plargs = NULL, ploptions = NULL)
Arguments
x , y |
coordinates of points. If |
markextremes |
proportion of extreme points to be 'marked'.
This may be a list of proportions with names
indicating the variables for which the proportion is to be applied.
If a vector (of length 2), the elements define the proportions
for the lower and upper end, respectively.
In the default case ( |
plabel |
character vector of labels to be used for extreme
points. If |
plargs , ploptions |
result of |
Value
A character vector in which the 'marked' observations contain
the respective label and the others equal ""
.
Author(s)
Werner A. Stahel
See Also
Examples
plyx(Sepal.Width ~ Sepal.Length, data=iris)
( t.plab <-
plmark(iris$Sepal.Length, iris$Sepal.Width, markextremes=0.03) )