search for: setdoublevalu

Displaying 1 result from an estimated 1 matches for "setdoublevalu".

Did you mean: setdoublevalue
2010 Mar 30
1
Adding RcppFrame to RcppResultSet causes segmentation fault
...ring *levelNames = new std::string[2]; levelNames[0] = std::string("pass"); // level 1 levelNames[1] = std::string("fail"); // level 2 // First row (this one determines column types). std::vector<ColDatum> row1(numCol); row1[0].setStringValue("a"); row1[1].setDoubleValue(3.14); row1[2].setFactorValue(levelNames, numLevels, 1); row1[3].setDateValue(RcppDate(7,4,2006)); frame.addRow(row1); // Second row. std::vector<ColDatum> row2(numCol); row2[0].setStringValue("b"); row2[1].setDoubleValue(6.28); row2[2].setFactorValue(levelNames, numLevels...