This function is used to calculate the mean of the sample relative range (W statistic).

d2(n)

Arguments

n

The sample size.

Value

Return the value of d2 for a given sample size n.

See also

d3,c4

Examples

d2(8)
#> [1] 2.847201