BoxPlot Struct Reference

This structure is a visual aid to study the distributions of data set variables. More...

#include <statistics.h>

Public Member Functions

 BoxPlot (const type &, const type &, const type &, const type &, const type &)
 
void set (const type &, const type &, const type &, const type &, const type &)
 

Public Attributes

type minimum = type(0)
 
type first_quartile = type(0)
 
type median = type(0)
 
type third_quartile = type(0)
 
type maximum = type(0)
 

Detailed Description

This structure is a visual aid to study the distributions of data set variables.

It contains the essentials for making box_plots and obtain the data generated by the box_plot:

  • Minimum.
  • Maximum.
  • Median.
  • First Quartile.
  • Third Quartile.

Definition at line 111 of file statistics.h.

Constructor & Destructor Documentation

◆ BoxPlot() [1/2]

BoxPlot ( )
inlineexplicit

Definition at line 125 of file statistics.h.

◆ BoxPlot() [2/2]

BoxPlot ( const type &  new_minimum,
const type &  new_first_cuartile,
const type &  new_median,
const type &  new_third_quartile,
const type &  new_maximum 
)
explicit

Definition at line 150 of file statistics.cpp.

◆ ~BoxPlot()

virtual ~BoxPlot ( )
inlinevirtual

Definition at line 131 of file statistics.h.

Member Function Documentation

◆ set()

void set ( const type &  new_minimum,
const type &  new_first_cuartile,
const type &  new_median,
const type &  new_third_quartile,
const type &  new_maximum 
)

Definition at line 164 of file statistics.cpp.

Member Data Documentation

◆ first_quartile

type first_quartile = type(0)

Definition at line 115 of file statistics.h.

◆ maximum

type maximum = type(0)

Definition at line 121 of file statistics.h.

◆ median

type median = type(0)

Definition at line 117 of file statistics.h.

◆ minimum

type minimum = type(0)

Definition at line 113 of file statistics.h.

◆ third_quartile

type third_quartile = type(0)

Definition at line 119 of file statistics.h.


The documentation for this struct was generated from the following files: