Skip to contents

get from william res accept/reject

Usage

getwilliamRes(william, n = NULL)

Arguments

william

william test results

n

number of hypotheses to be tested. description

Value

a vector of accept and rejects.

Examples

## Example from Sachs (1997, p. 402)
x <- c(106, 114, 116, 127, 145,
       110, 125, 143, 148, 151,
       136, 139, 149, 160, 174)
g <- gl(3,5)
levels(g) <- c("0", "I", "II")

## Williams Test
res <- PMCMRplus::williamsTest(x ~ g)
getwilliamRes(res)
#> [1] "accept" "reject"