Package edu.cmu.tetrad.data
Class CaseExpander
java.lang.Object
edu.cmu.tetrad.data.CaseExpander
- All Implemented Interfaces:
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.
- Version:
- $Id: $Id
- Author:
- josephramsey
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CaseExpander
public CaseExpander()Initializes a new instance of the CaseExpander class.
-
-
Method Details
-
filter
Interpolates the given data set, producing a data set with no missing values.Expands cases for the given dataset.
- Specified by:
filter
in interfaceDataFilter
- Parameters:
dataSet
- the data set to interpolate.- Returns:
- the interpolated data set.
-