use of edu.cmu.tetrad.data.VerticalIntDataBox in project tetrad by cmu-phil.
the class DataConvertUtils method toVerticalDiscreteDataModel.
public static DataModel toVerticalDiscreteDataModel(VerticalDiscreteTabularDataset dataset) {
DataBox dataBox = new VerticalIntDataBox(dataset.getData());
List<Node> variables = toNodes(dataset.getVariableInfos());
return new BoxDataSet(dataBox, variables);
}
Aggregations