R/stat_utils.r
port_cor.Rd
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)
matrix whole columans will be analyzed
- 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
TRUE if rank correlation is to be used
if TRUE, the output will be tidy
defining a threshold to deterine which correlation to be reported if using the tidy format
the corelation matrix of the columns