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

Function meanInteger

inst/tinytest/cpp/sugar.cpp:760–760  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

758
759// [[Rcpp::export]]
760double meanInteger(Rcpp::IntegerVector x) { return Rcpp::mean(x); }
761
762// [[Rcpp::export]]
763double meanNumeric(Rcpp::NumericVector x) { return(Rcpp::mean(x)); }

Callers

nothing calls this directly

Calls 1

meanFunction · 0.50

Tested by

no test coverage detected