Description Usage Arguments Value
Plot boxplots of y conditional on the quantile of x
1 2 | conditionalBoxplots(df, y, x, binSize = 0.05, yQuantile = FALSE,
xQuantile = TRUE)
|
df |
a data.frame with variables of interest |
y |
string representing the column name in df |
x |
string representing the column to condition on |
binSize |
how much spacing in the quantiles to include |
yQuantile |
if TRUE, also plot y's quantiles |
xQuantile |
if TRUE, plot x's quantiles |
a ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.