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