powered by
Make sure p-values are numeric. Non-numeric values (e.g., "<0.001") are converted to zero.
pvalnum(pvals)
A vector of fully numeric p-values.
Vector of p-values which might not be fully numeric.
micompr:::pvalnum(c("0.06", "0.9", "<0.0001", "0.3")) # [1] 0.06 0.90 0.00 0.30
Run the code above in your browser using DataLab