Package-level declarations
Functions
Link copied to clipboard
fun asDiscrete(variable: String, label: String? = null, orderBy: String? = null, order: Int? = null, levels: List<Any>? = null): MappingMeta
The function converts a column to a discrete scale and allows you to specify the order of its values. It is similar to the factor()
function from R but works differently - there is no data transformation.
Link copied to clipboard
fun gggrid(plots: Iterable<Figure?>, ncol: Int? = null, widths: List<Number>? = null, heights: List<Number>? = null, hspace: Number? = null, vspace: Number? = null, fit: Boolean = true, align: Boolean = false, sharex: Any? = null, sharey: Any? = null): SubPlotsFigure
Combines several plots on one figure, organized in a regular grid.
Link copied to clipboard
Converts given geometry layer to a marginal layer. You can add one or more marginal layers to a plot to create a marginal plot.