Description Usage Arguments Value References Examples
Creates a 2d density plot of the selected variables.
1 | plot_2density(df, col_y, cols = NULL, alpha = 0.2)
|
df |
Any non-empty dataframe. |
col_y |
Column with the variable to be put on the y-axis. |
cols |
A number of columns from the dataframe, for each of which a 2d density plot will be created. By default, will use all columns from the dataframe, except for the y-axis column. |
alpha |
Transparency. |
Multiple 2d density plot, by default one for each column in the provided dataframe, with the selected y column on the y-axis.
https://www.edx.org/course/principles-of-machine-learning-r-edition
1 | plot_2density(mtcars, "qsec")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.