[[Rcpp::export]]
| 247 | |
| 248 | // [[Rcpp::export]] |
| 249 | NumericMatrix runit_SubMatrix( ){ |
| 250 | NumericMatrix xx(4, 5); |
| 251 | xx(0,0) = 3; |
| 252 | xx(0,1) = 4; |
| 253 | xx(0,2) = 5; |
| 254 | xx(1,_) = xx(0,_); |
| 255 | xx(_,3) = xx(_,2); |
| 256 | SubMatrix<REALSXP> yy = xx( Range(0,2), Range(0,3) ) ; |
| 257 | NumericMatrix res = yy ; |
| 258 | return res; |
| 259 | } |
| 260 | |
| 261 | // [[Rcpp::export]] |
| 262 | void runit_rownames_colnames_proxy( |