View source: R/modify_hitman_pvalues.R
modify_hitman_pvalues | R Documentation |
Modify p-values of hitman or lotman based on sidedness of both tests.
modify_hitman_pvalues(
tab,
overall.sign,
stat.cols = c("EM.z", "MY.z"),
p.cols = c("EM.p", "MY.p")
)
tab |
Numeric matrix. Must have "EM" and "MY" stat and ".p" columns. |
overall.sign |
Sign of overall effect from exposure to outcome, one of 1 or -1. |
stat.cols |
Vector of length 2 with column names or indices of signed statistics. |
p.cols |
Vector of length 2 with column names or indices of p-values. |
Matrix with p-value columns modified.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.