Description Usage Arguments Value Examples
Plot correlation plots between numeric features. Takes a dataframe, subsets numeric columns and returns a correlation plot object.
1 |
df |
Dataframe from which to take columns and calculate, plot correlation between columns. |
cols |
List of columns to perform correlation on. By default, null (perform on all numeric). |
method |
correlation calculation method, one of: 'pearson', 'kendall', 'spearman'. By default 'pearson' |
colour_palette |
one of ggplot accepted colour schemes |
ggplot plot object
1 2 3 4 | ## Not run:
plot_corr(example_dataframe)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.