# NOT RUN {
Pairwise <- IntersectHypotheses(list(c(1,2), c(1,3), c(1,4), c(2,3), c(2,4), c(3,4)))
Display(Pairwise)
summary(Pairwise)
# the vector of p-values calculated by another software
p.val <- c(
0.4374,
0.6485,
0.4103,
0.2203,
0.1302,
0.6725,
0.4704,
0.3173,
0.6762,
0.7112,
0.2866,
0.3362,
0.2871,
0.4633)
result <- Adjust_raw(ctp.struc=Pairwise, p.value=p.val)
## details may be documented
result <- Adjust_raw(Pairwise, p.value=p.val
,dataset.name="my Data", factor.name="Factor"
,factor.levels=c("A","B","C","D"), model=y~Factor
,test.name="my Test")
summary(result)
Display(result)
# }
Run the code above in your browser using DataLab