Transforming p-values
Examples
p <- c(0.01, 0.05, 0.8)
transf_p(p, method = "raw")
#> [1] 0.01 0.05 0.80
transf_p(p, method = "z")
#> [1] 2.5758293 1.9599640 0.2533471
# with custom function
transf_p(p, method = function(x) x/2)
#> [1] 0.005 0.025 0.400