labels

fun labels(type: String? = null, diag: Boolean? = null, mapSize: Boolean? = null, color: String? = null): CorrPlot

Adds labels layer to corr plot.

Parameters

type

Type of the matrix: "upper", "lower" or "full". Default - contextual.

diag

Whether to fill the main diagonal with values or not. Default - contextual.

mapSize

If true, then absolute value of correlation is mapped to text size. If false - the text size is constant. Default - contextual.

color

Set text color. Default - contextual.