Description Usage Arguments Value Author(s) Examples
Quickly produces specifc plots using the ggplot library. This function is exported but its main purpose is to be used in the eda function.
1 2 |
data |
[required | data.frame] Dataset containing predictor and / or target features. |
x |
[optional | character | default=NULL] A vector of feature names present in the dataset used to predict the target feature. If NULL then all columns in the dataset is used. |
y |
[required | character | default=NULL] The name of the target feature contained in the dataset. |
type |
[optional | character | default="histogram"] The type of plot to be produced. For numeric feature types histogram, density, boxplot and violin are available. For categorical bar and stackedbar are available. |
transparency |
[optional | numeric | default = 1] Transparency applied to plots. |
theme |
[optional | numeric | default=1] Color theme applied to plot, options range from 1 to 4. |
Plot of ggplot2 type
Xander Horn
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.