plot-api / jetbrains.letsPlot.facet

Package jetbrains.letsPlot.facet

Functions

facet_grid

Splits data by one or two faceting variables. For each data subset creates a plot panel and lays out panels as grid. The grid columns are defined by X faceting variable and rows are defined by Y faceting variable.

fun facet_grid(x: String? = null, y: String? = null, xOrder: Int = 1, yOrder: Int = 1, xFormat: String? = null, yFormat: String? = null): OptionsMap

facet_wrap

Splits data by one or more faceting variables. For each data subset creates a plot panel and lays out panels according to the ncol, nrow and dir settings.

fun facet_wrap(facets: Any, ncol: Any? = null, nrow: Any? = null, order: Any? = null, format: Any? = null, dir: String = "h"): OptionsMap