Learn R Programming

see (version 0.6.4)

plot.see_easycormatrix: Plot method for correlation matrices

Description

The plot() method for the correlation::correlation() function.

Usage

# S3 method for see_easycormatrix
plot(
  x,
  show_values = FALSE,
  show_p = FALSE,
  show_legend = TRUE,
  size_point = 1,
  size_text = 3.5,
  digits = 3,
  type = c("circle", "tile"),
  ...
)

Arguments

x

An object.

show_values

Logical, if TRUE, values are displayed.

show_p

Logical, if TRUE, p-values or significant level is displayed.

show_legend

Logical, show or hide legend.

size_point

Size of point-geoms.

size_text

Size of text labels.

digits

Number of decimals used for values.

type

Character vector, indicating the type of plot.

...

Arguments passed to or from other methods.

Value

A ggplot2-object.

Examples

Run this code
# NOT RUN {
library(correlation)
data(mtcars)
result <- correlation(mtcars[, -c(8:9)])
s <- summary(result)
plot(s)
# }

Run the code above in your browser using DataLab