Learn R Programming

lares (version 4.4)

corr_plot: Correlation plot

Description

This function correlates a whole dataframe with a single feature.

Usage

corr_plot(df, method = "pearson", order = "FPC", type = "square",
  logs = FALSE)

Arguments

df

Dataframe.

method

Character. Any of: c("pearson", "kendall", "spearman")

order

Character. The ordering method of the correlation matrix. Any of: c("original", "AOE", "FPC", "hclust", "alphabet")

type

Character. The visualization method of correlation matrix to be used. Any of c("circle", "square", "ellipse", "number", "pie", "shade" and "color")

logs

Boolean. Automatically calculate log(values) for numerical variables (not binaries) and plot them