| autoplot.cor_df | R Documentation | 
This method provides a good first visualization of the correlation matrix.
## S3 method for class 'cor_df'
autoplot(
  object,
  ...,
  method = "PCA",
  triangular = c("upper", "lower", "full"),
  barheight = 20,
  low = "#B2182B",
  mid = "#F1F1F1",
  high = "#2166AC"
)
| object | A  | 
| ... | this argument is ignored. | 
| method | String specifying the arrangement (clustering) method.
Clustering is achieved via  | 
| triangular | Which part of the correlation matrix should be shown?
Must be one of  | 
| barheight | A single, non-negative number. Is passed to
 | 
| low | A single color. Is passed to  | 
| mid | A single color. Is passed to  | 
| high | A single color. Is passed to  | 
A ggplot object
x <- correlate(mtcars)
autoplot(x)
autoplot(x, triangular = "lower")
autoplot(x, triangular = "full")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.