pvalnum | R Documentation |
Make sure p-values are numeric. Non-numeric values (e.g., "<0.001") are converted to zero.
pvalnum(pvals)
pvals |
Vector of p-values which might not be fully numeric. |
A vector of fully numeric p-values.
micompr:::pvalnum(c("0.06", "0.9", "<0.0001", "0.3"))
# [1] 0.06 0.90 0.00 0.30
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.