plot-api / jetbrains.letsPlot.geom / geom_boxplot / <init>

<init>

geom_boxplot(data: Map<*, *>? = null, stat: StatOptions = Stat.boxplot(), position: PosOptions = Pos.dodge, showLegend: Boolean = true, sampling: SamplingOptions? = null, x: Double? = null, y: Double? = null, lower: Double? = null, middle: Double? = null, upper: Double? = null, ymin: Double? = null, ymax: Double? = null, alpha: Number? = null, color: Any? = null, fill: Any? = null, size: Number? = null, linetype: Any? = null, shape: Any? = null, width: Any? = null, weight: Any? = null, outlierColor: Any? = null, outlierFill: Any? = null, outlierShape: Any? = null, outlierSize: Number? = null, fatten: Number? = null, varWidth: Boolean? = null, coef: Number? = null, mapping: BoxplotMapping.() -> Unit = {})

Display the distribution of data based on a five number summary ("minimum", first quartile (Q1), median, third quartile (Q3), and "maximum"), and "outlying" points individually.

Parameters

data - dictionary or pandas DataFrame, optional The data to be displayed in this layer. If None, the default, the data is inherited from the plot data as specified in the call to ggplot.

stat - string, optional The statistical transformation to use on the data for this layer, as a string. Supported transformations: "identity" (leaves the data unchanged) should be used to define boxplot from your own computations via lower, upper, ymin, ymax, middle aesthetics mappings (see below), "count" (counts number of points with same x-axis coordinate), "bin" (counts number of points with x-axis coordinate in the same bin), "smooth" (performs smoothing - linear default)

position - string, optional Position adjustment, either as a string ("identity", "stack", "dodge",...), or the result of a call to a position adjustment function.

outlierColor -

outlierFill -

outlierShape -

outlierSize -

    Default aesthetics for outliers.

varWidth -

    if FALSE (default) make a standard box plot.
    If TRUE, boxes are drawn with widths proportional to the square-roots of the number of
    observations in the groups.

fatten - : number, default: 1.0 A multiplicative factor applied to size of the middle bar

lower - lower hinge, 25% quantile

middle - median, 50% quantile

upper - upper hinge, 75% quantile

ymin - lower whisker = smallest observation greater than or equal to lower hinge - 1.5 * IQR

ymax - upper whisker = largest observation less than or equal to upper hinge + 1.5 * IQR

width - width of boxplot (0..1)

alpha - transparency level of a layer Understands numbers between 0 and 1.

color - color of a geometry lines

fill - color of geometry filling

size - lines width

linetype - type of the line of border Codes and names: 0 = "blank", 1 = "solid", 2 = "dashed", 3 = "dotted", 4 = "dotdash", 5 = "longdash", 6 = "twodash"

mapping - set of aesthetic mappings created by aes() function. Aesthetic mappings describe the way that variables in the data are mapped to plot "aesthetics".