Learn R Programming

plgraphics (version 1.2)

markextremes: 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)

Value

A scalar between 0 and 0.5

Arguments

n

number of observations

Author

Werner A. Stahel

Details

The function simply applies ceiling(sqrt(n)/2)/n.

Examples

Run this code
markextremes(20)
for (n in c(10,20,50,100,1000))  print(c(n,markextremes(n)))

Run the code above in your browser using DataLab