R/TippettMethod.r

Defines functions TippettMethod

Documented in TippettMethod

#' @title TippettMethod
#'
#' @description #' Combination p-value method that uses Tippett statistic
#' min(p1,...,pn), n= 2,3,...,k where p equals p-value
#'
#' @param x #' SumOfPs
#'
#' @return Combined P-value
#' @examples
#' Output <- SumOfPs(0.1,0.3,.7)
#' Final <- TippettMethod(Output)
#' @export
#' @importFrom dplyr "%>%"
#'
TippettMethod = function(x){
            temp <- Reduce(min,x)
            output <- temp
            return(output)
            }

Try the combinationpvalues package in your browser

Any scripts or data that you put into this service are public.

combinationpvalues documentation built on Sept. 5, 2021, 6:04 p.m.