kandy
 
0.8.0
Because kandy 0.8.0 is still in development, this documentation may not be entirely accurate and is subject to change.

densityPlot

Edit pageLast modified: 15 July 2024

The densityPlot adds a density-plot layer function optionally creates a new context with area aesthetics and new dataset which contains the "density" statistic calculated on sample of a single numeric variable x. In this context, all required aesthetics are assigned by default but can be overridden.

Density plot is a statistical plot used for visualizing the distribution of continuous variables. It's an area plot of kernel-estimated Probability Density Function (PDF). It's weighted, it means the counted density depends on observation weights.