This function is used to calculate the mean of the sample relative range (W statistic).
d2(n)
The sample size.
Return the value of d2 for a given sample size n.
d3,c4
d2(8)#> [1] 2.847201