Description Usage Arguments Value Author(s) Examples
View source: R/cor.var.compare.R
Creates a table of pairwise correlations statistics, with separation of two groups for comparison. This can be used as an exploratory tool to investigate correlations between a specific variable of interest and all other variables within the same dataset. The significance of the difference between two correlation coefficients is ......
1 | cor.var.compare(variable, data, group, ordered = "fisher")
|
variable |
character string defining the variable of interest for differential correlation |
data |
dataframe for analysis |
group |
character string defining the grouping variable for comparative differential correlations |
ordered |
character string defining which column the table should be ordered by. Choose from |
a table (or dataframe) with pearson correlation coefficients (r) and associated p-values between variables for each comparative group. Also gives fisher r-to-z p-value and adjusted p-value using Benjamini-Hochberg correction for each correlation pair.
Emily Mears, mears.emilyrose@gmail.com, Matthew Grant, mgra576@aucklanduni.ac.nz
Ben Day, benjamindayengineer@gmail.com
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.