cormat {vannstats} | R Documentation |
Simplified Correlation Matrix
Description
This function creates a correlation (cormat) on a data frame of the variables in an equation.
Usage
cormat(df, formula)
Arguments
df |
data frame to read in. |
formula |
the variables in the regression model, |
Value
This function returns a correlation matrix for the variables provided in the formula.
Examples
data <- mtcars
cormat(data, mpg ~ wt + am)
[Package vannstats version 1.3.4.14 Index]