pValueFromCor | R Documentation |
Computes the the p value based on the observed correlation.
pValueFromCor(n, stat, method = c("pearson", "kendall", "spearman"))
n |
integer representing sample size |
method |
character, "pearson", "kendall" or "spearman |
r |
numeric in (-1, 1) representing the sample correlation |
list of three p-values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.