Convert rcpp variables into standard C++ variables
问题 My input looks like this: Rcpp::NumericMatrix data(dataMatrix); Rcpp::NumericVector xSize(dataXsize); Rcpp::NumericVector ySize(dataYsize); Rcpp::NumericVector tIndexes(testIndexes); Rcpp::NumericVector cIndexes(controlIndexes); And the external library I'm trying to call has this signature WilcoxonTest(float * _data, int _dataXsize, int _dataYsize, vector<int> * _testIndexes, vector<int> * _controlIndexes); How can I convert the Rcpp data types into C++ standard data types? Note: float *