pvalFormat {cmprskcoxmsm} | R Documentation |
Adjust p-value format
Description
Formats p-values for reports, can report adjusted pvalues
Usage
pvalFormat(p.values, method = 'none', replace = FALSE)
Arguments
p.values |
p-value |
method |
pvalue adjustment, passed to p.adjust.methods |
replace |
if TRUE, replaces p-values with their adjusted value |
Value
Return the formatted p-value: round the p-value, assign the significance sign to the p-value based on the significant level. Can be used directly to the LaTex report.
Examples
p <- 0.002354
print(p.1 <- pvalFormat(p))
[Package cmprskcoxmsm version 0.2.1 Index]