Description Usage Arguments Value Examples
This function follows stats::cor results to provide correlation results and significance based on p-values in a table
1 | corsig(.data, decimals = 2, method = "pearson", numbered = T)
|
.data |
a dataframe or matrix with numeric values |
decimals |
the number of decimals that are shown in the correlations |
method |
methods used based on stats::cor methods |
numbered |
whether to number the row and column names to condense results |
a dataframe with correlations and significance based on p-values
1 2 3 4 | irisnum <- iris %>%
select_if(is.numeric)
corsig(irisnum, decimals = 3, method = "kendall", numbered = T)
corsig(irisnum, decimals = 2, method = "pearson", numbered = F)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.