pchisq
.ptukey(q, nmeans, df, nranges = 1, lower.tail = TRUE, log.p = FALSE)
qtukey(p, nmeans, df, nranges = 1, lower.tail = TRUE, log.p = FALSE)
ptukey
gives the distribution function and qtukey
its
inverse, the quantile function. The length of the result is the maximum of the lengths of the
numerical arguments. The other numerical arguments are recycled
to that length. Only the first elements of the logical arguments
are used.nranges
is greater than one, nmeans
observations each.pnorm
and qnorm
for the corresponding
functions for the normal distribution.if(interactive())
curve(ptukey(x, nm = 6, df = 5), from = -1, to = 8, n = 101)
(ptt <- ptukey(0:10, 2, df = 5))
(qtt <- qtukey(.95, 2, df = 2:11))
## The precision may be not much more than about 8 digits:
summary(abs(.95 - ptukey(qtt, 2, df = 2:11)))
Run the code above in your browser using DataLab