plmark | R Documentation |
Determine extreme points and get labels for them.
plmark(x, y = NULL, markextremes = NULL, plabel = NULL, plargs = NULL, ploptions = NULL)
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 |
A character vector in which the 'marked' observations contain
the respective label and the others equal ""
.
Werner A. Stahel
plyx
plyx(Sepal.Width ~ Sepal.Length, data=iris)
( t.plab <-
plmark(iris$Sepal.Length, iris$Sepal.Width, markextremes=0.03) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.