mat_corr | R Documentation |
mat_corr generate matrix table of significant variables
mat_corr(y, df, showSig = F, sig.level = 0.05)
y |
is a response variable for exploring its relationship with the other predictor variables |
df |
data frame or a matrix with predictor variables |
showSig |
returns names of the significant variables at the specifies significant level |
sig.level |
specifies the significant level for deciding a significant relation between variables default is 0.05. |
This function explores the correlation of a variables with multiple dependent variables. It takes on an array or a data frame. if a vector is passed to the function it will be converted into a data frame Check if all the variables are numeric and not strings
A data frame of correlation, p-values and their t-values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.