private function that calculate correlation of given column matrix with a column and assigns significance to correlation coefficents based on resampling
1 2 | corResample(mat, scaleData = scaleData, method = "pearson", col = 1,
B = B)
|
mat |
matrix of response and predictor variables |
method |
pearson or spearman |
col |
column number of response variable |
B |
number of random samples (shuffling) of given column |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.