Class CaseExpander

java.lang.Object
edu.cmu.tetrad.data.CaseExpander
All Implemented Interfaces:
DataFilter

public final class CaseExpander extends Object implements DataFilter
Makes a new data set in which cases in the given data set that have been assigned multiplicies other than n = 1 are copied out n times. This increases the number of rows in the data set.
Author:
josephramsey
  • Constructor Details

    • CaseExpander

      public CaseExpander()
  • Method Details

    • filter

      public DataSet filter(DataSet dataSet)
      Expands cases for the given dataset.
      Specified by:
      filter in interface DataFilter
      Parameters:
      dataSet - the data set to interpolate.
      Returns:
      the interpolated data set.