plot_2density: 2d density plot

Description Usage Arguments Value References Examples

View source: R/microplots.R

Description

Creates a 2d density plot of the selected variables.

Usage

1
plot_2density(df, col_y, cols = NULL, alpha = 0.2)

Arguments

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.

Value

Multiple 2d density plot, by default one for each column in the provided dataframe, with the selected y column on the y-axis.

References

https://www.edx.org/course/principles-of-machine-learning-r-edition

Examples

1

julianbarg/DataAnalysisTools documentation built on April 9, 2020, 11:43 a.m.