cond_boxplot | R Documentation |
cond_boxplot()
conditions all variables on x
by quantile binning and
shows the boxplots for the other variables for each value of qbinned x
.
cond_boxplot(
data,
x = NULL,
n = 100,
min_bin_size = NULL,
color = "#002f2f",
fill = "#2f4f4f",
auto_fill = FALSE,
ncols = NULL,
xmarker = NULL,
qmarker = NULL,
show_bins = FALSE,
xlim = NULL,
connect = FALSE,
...
)
data |
a |
x |
|
n |
|
min_bin_size |
|
color |
The color to use for the line charts |
fill |
The fill color to use for the areas |
auto_fill |
If |
ncols |
The number of column to be used in the layout |
xmarker |
|
qmarker |
|
show_bins |
if |
xlim |
|
connect |
if |
... |
Additional arguments to pass to the plot functions |
cond_boxplot
is the same function as funq_plot()
but with different defaults,
namely connect = FALSE
and auto_fill = FALSE
.
funq_plot
highlights the functional relationship between
x and the y-variables, by connecting the medians of the quantile bins.
qbin_boxplot()
shows the boxplots of the quantile bins on a quantile scale.
A list
of ggplot objects.
Other conditional quantile plotting functions:
cond_barplot()
,
cond_heatmap()
,
funq_plot()
cond_boxplot(
iris, x = "Petal.Length"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.