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

Function meanNumeric

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

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

761
762// [[Rcpp::export]]
763double meanNumeric(Rcpp::NumericVector x) { return(Rcpp::mean(x)); }
764
765// [[Rcpp::export]]
766double meanLogical(Rcpp::LogicalVector x) { return(Rcpp::mean(x)); }

Callers

nothing calls this directly

Calls 1

meanFunction · 0.50

Tested by

no test coverage detected