R/Plotting_functions.R
plot_density.Rd
Plot points with density background with correlation coefficient
plot_density(df, var_x = names(df)[1], var_y = names(df)[2])
df | a data.frame |
---|---|
var_x | name of the x variable |
var_y | name of the y variable |
a plot