Class DataColumn

All Implemented Interfaces:
Serializable, Cloneable, Iterable<Double>, Collection<Double>, List<Double>, RandomAccess

public class DataColumn extends DataList
A named numeric column used by sPlot datasets.

This is currently a thin extension of DataList that provides basic statistics.

See Also:
  • Constructor Details

    • DataColumn

      public DataColumn()
  • Method Details

    • getMean

      public double getMean()
      Get mean of the data in this column.
      Returns:
      mean, or NaN if empty
    • getVariance

      public double getVariance()
      Get (population) variance of the data in this column.
      Returns:
      variance, or NaN if empty
    • getStandardDeviation

      public double getStandardDeviation()
      Standard deviation of the data in this column.
      Returns:
      standard deviation, or NaN if empty