Learn R Programming

lares (version 4.7)

corr_plot: Correlation plot

Description

This function correlates a whole dataframe with a single feature.

Usage

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

Arguments

df

Dataframe.

ignore

Character vector. Which columns do you wish to exlude?

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

See Also

Other Visualization: distr, freqs_df, freqs, mplot_conf, mplot_cuts_error, mplot_cuts, mplot_density, mplot_full, mplot_gain, mplot_importance, mplot_lineal, mplot_metrics, mplot_response, mplot_roc, mplot_splits, noPlot, plot_survey, theme_lares2, theme_lares, tree_var

Other Correlations: corr_cross, corr_var, corr