conditionalBoxplots: Conditional boxplots

Description Usage Arguments Value

Description

Plot boxplots of y conditional on the quantile of x

Usage

1
2
conditionalBoxplots(df, y, x, binSize = 0.05, yQuantile = FALSE,
  xQuantile = TRUE)

Arguments

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

Value

a ggplot object


pimentel/haRold documentation built on May 25, 2019, 7:12 a.m.