[[Rcpp::export]]
| 1154 | |
| 1155 | // [[Rcpp::export]] |
| 1156 | Rcpp::IntegerVector int_col_sums(Rcpp::IntegerMatrix x, bool na_rm = false) { |
| 1157 | return colSums(x, na_rm); |
| 1158 | } |
| 1159 | |
| 1160 | // [[Rcpp::export]] |
| 1161 | Rcpp::IntegerVector lgl_col_sums(Rcpp::LogicalMatrix x, bool na_rm = false) { |