port_cor | R Documentation |
port_cor matrix correlation wrap. Parameter selects which function to use, cor or tgs_cor. Tgs_cor can be more efficien if available
port_cor(x, pairwise.complete.obs = F, spearman = F, tidy = F, threshold = 0)
x |
matrix whole columans will be analyzed |
pairwise.complete.obs |
- similar to cor, if this is T, NA's will be ibe ignored and only values that are pairwise available will be used to compute the correlaiton |
spearman |
TRUE if rank correlation is to be used |
tidy |
if TRUE, the output will be tidy |
threshold |
defining a threshold to deterine which correlation to be reported if using the tidy format |
the corelation matrix of the columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.