This provides a simple approach to visualising correlations amongst variables

vis_cor(data, cor_method = "pearson", use_op = "pairwise.complete.obs", ...)

Arguments

data

data.frame

cor_method

correlation method to use, from cor: "a character string indicating which correlation coefficient (or covariance) is to be computed. One of "pearson" (default), "kendall", or "spearman": can be abbreviated."

use_op

what to do in the presence of missings? can be "everything", "all.obs", "complete.obs", "na.or.complete", or "pairwise.complete.obs" (default).

...

extra arguments you may want to pass

Value

ggplot2 object

Examples

vis_cor(airquality)
vis_cor(mtcars)
# NOT RUN { vis_cor(iris) # }