af.cor | R Documentation |
Provides (unweighted or weighted) correlation matrix between variables.
af.cor(dat, wei = NULL, use = "pairwise.complete.obs", simplify = F)
data |
Numeric data.frame. |
Provides (unweighted or weighted) correlation matrix between variables. Additionally, p-values and confidence intervals are provided for each pairwise correlation, based on the (potentially weighted) coefficients of correlation and the unweighted sample size.
af.cor(dat=sapply(1:10,function(x)rnorm(100)));
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.