markextremes {plgraphics} | R Documentation |
Adjust the default proportion of extreme points to be labeled to the number of observations
Description
Adjusts the proportion of extreme points to be labeled to the number of
observations. It is the default of the ploption markextremes
.
Usage
markextremes(n)
Arguments
n |
number of observations |
Details
The function simply applies ceiling(sqrt(n)/2)/n
.
Value
A scalar between 0 and 0.5
Author(s)
Werner A. Stahel
Examples
markextremes(20)
for (n in c(10,20,50,100,1000)) print(c(n,markextremes(n)))
[Package plgraphics version 1.2 Index]