Skip to content

Commit

Permalink
maxt-t light algorithm implemented
Browse files Browse the repository at this point in the history
  • Loading branch information
livioivil committed Sep 5, 2024
1 parent 76f0dac commit b14594f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/padjust.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ p.adjust.jointest <- function (mods, method = "maxT", tail = 0, ...)
# if("alphas"%in%names(as.list(match.call())))
p.adj=maxT.light(abs(res$Tspace),...)
} else
if(method=="minp") { p.adj=maxT.light(-abs(res$Tspace),...)
if(method%in%c("minp","Tippet") ) {
p.adj=maxT.light(-abs(res$Tspace),...)
} else
p.adj = flip.adjust(.set_tail(mods$Tspace, tail = tail),
method = method)
Expand Down

0 comments on commit b14594f

Please sign in to comment.