MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / colMeans

Function colMeans

inst/include/Rcpp/sugar/functions/rowSums.h:950–956  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

948
949template <int RTYPE, bool NA, typename T>
950inline typename sugar::detail::ColMeansReturn<RTYPE>::type
951colMeans(const MatrixBase<RTYPE, NA, T>& x, bool na_rm = false) {
952 if (!na_rm) {
953 return sugar::ColMeansImpl<RTYPE, NA, T, false>(x);
954 }
955 return sugar::ColMeansImpl<RTYPE, NA, T, true>(x);
956}
957
958
959} // Rcpp

Callers 4

dbl_col_meansFunction · 0.85
int_col_meansFunction · 0.85
lgl_col_meansFunction · 0.85
cx_col_meansFunction · 0.85

Tested by

no test coverage detected