Description Usage Arguments Value
Generate simple visualizations of variables. Meant to show one of 3 different kinds of charts: 1. A bar chart (for counts of categorical variables) 2. A histogram (for distributions of numeric variables) 3. A x-y correlation chart (if two variables are supplied)
1 2 |
x |
A variable to be plotted alone, or the x-axis of a two variable plot |
y |
An option second variable to be plotted on the y-axis |
type |
Either "numeric" or "factor". If |
make_simple |
Whether to simplify a categorical variable to fewer than |
n_simple |
The number of categories to simplify |
trend |
Whether to overlay a trend line.
Ignored unless |
A plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.