An internal function for censored quantile random forest

rf.getWeights(rf, traindata, testdata, y_name, c_name)