| cor_matrix | R Documentation | 
This function produces the matrix of correlations between all quantitative variables in a dataframe.
cor_matrix(X,type="pearson")
| X | A data frame | 
| type | Either  | 
This function filters out any non-numerical variables and provides correlations only between quantitative variables.  Best for datasets with only a few variables.  The correlation matrix is returned (with class matrix).
Adam Petrie
Introduction to Regression and Modeling
cor 
  data(TIPS)
	cor_matrix(TIPS)
	data(AUTO)
	cor_matrix(AUTO,type="spearman")
	 Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.