ppPositions: Plotting Point Positions

Description Usage Arguments Details Value

View source: R/ppPositions.R

Description

Calculates plotting point positions according to different authors

Usage

1
2
3
4
ppPositions(
  n,
  method = c("Gringorton", "Cunane", "Filliben", "Blom", "Weibull", "ppoints")
)

Arguments

n

numeric, the sample size

method

a character string naming a valid method (see Details)

Details

The following methods can by selected:

"Gringorton" the plotting point positions are calculated as

m[i] = (i - 0.44) / (n + 0.12)

"Cunane" the plotting point positions are calculated as

m[i] = (i - 0.4) / (n + 0.2)

"Blom" the plotting point positions are calculated as

m[i] = (i - 0.3175) / (n + 0.25)

"Filliben" the order statistic medians are calculated as:

m[1] = 1 - 0.5^(1/n); m[i] = (i - 0.3175) / (n + 0.365), for i = 2,…, n - 1; m[n] = 0.5^(1/n)

"ppoints" R core's default plotting point positions are calculated (see ppoints).

Value

a vector of class numeric that contains the plotting positions


ppcc documentation built on March 26, 2020, 6:23 p.m.