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

Function mean

inst/include/Rcpp/sugar/functions/mean.h:138–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136
137template <bool NA, typename T>
138inline sugar::Mean<REALSXP,NA,T> mean(const VectorBase<REALSXP,NA,T>& t) {
139 return sugar::Mean<REALSXP,NA,T>(t);
140}
141
142template <bool NA, typename T>
143inline sugar::Mean<INTSXP,NA,T> mean(const VectorBase<INTSXP,NA,T>& t) {

Callers 2

getMethod · 0.70
getMethod · 0.70

Calls 3

Mean<INTSXP,NA,T>Class · 0.85
Mean<CPLXSXP,NA,T>Class · 0.85
Mean<LGLSXP,NA,T>Class · 0.85

Tested by

no test coverage detected