data(treepipit)
mod <- maxstat.test(counts ~ coverstorey, data = treepipit,
smethod = "Data", pmethod = "HL", minprop = 0.2,
maxprop = 0.8)
print(mod)
plot(mod)Run the code above in your browser using DataLab