powered by
Formats p-values for reports, can report adjusted pvalues
pvalFormat(p.values, method = 'none', replace = FALSE)
p-value
pvalue adjustment, passed to p.adjust.methods
if TRUE, replaces p-values with their adjusted 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.
# NOT RUN { p <- 0.002354 print(p.1 <- pvalFormat(p)) # }
Run the code above in your browser using DataLab