Computes and stores data required for showing a boxplot.
More...
#include <iABoxPlotData.h>
|
| | iABoxPlotData () |
| |
| | iABoxPlotData (double q25_v, double med_v, double q75_v, double min_v, double max_v) |
| |
| void | CalculateBoxPlot (double *data, int dataSize, bool removeOutliers=false, double k=2.0) |
| | Computes values required for the box plot.
|
| |
|
| static int | cmp (const void *px, const void *py) |
| |
Computes and stores data required for showing a boxplot.
◆ iABoxPlotData() [1/2]
| iABoxPlotData::iABoxPlotData |
( |
| ) |
|
|
inline |
◆ iABoxPlotData() [2/2]
| iABoxPlotData::iABoxPlotData |
( |
double | q25_v, |
|
|
double | med_v, |
|
|
double | q75_v, |
|
|
double | min_v, |
|
|
double | max_v ) |
◆ CalculateBoxPlot()
| void iABoxPlotData::CalculateBoxPlot |
( |
double * | data, |
|
|
int | dataSize, |
|
|
bool | removeOutliers = false, |
|
|
double | k = 2.0 ) |
Computes values required for the box plot.
- Parameters
-
| data | the data as array |
| dataSize | number of elements in data |
| removeOutliers | whether outliers should be removed |
| k | used to find outliers as: x < q25 - k * (q75 - q25) || x < q75 - k * ( q75 - q25 ) |
◆ cmp()
| int iABoxPlotData::cmp |
( |
const void * | px, |
|
|
const void * | py ) |
|
static |
◆ max
| double iABoxPlotData::max |
◆ med
| double iABoxPlotData::med |
◆ min
| double iABoxPlotData::min |
◆ outliers
| QList<double> iABoxPlotData::outliers |
◆ q25
| double iABoxPlotData::q25 |
◆ q75
| double iABoxPlotData::q75 |
◆ range
| double iABoxPlotData::range[2] |
The documentation for this struct was generated from the following files: