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

Function meanTest_int

inst/tinytest/cpp/algorithm.cpp:90–92  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

88
89// [[Rcpp::export]]
90double meanTest_int(Rcpp::IntegerVector v) {
91 return Rcpp::algorithm::mean(v.begin(), v.end());
92}
93
94// [[Rcpp::export]]
95double meanTest_logical(Rcpp::LogicalVector v) {

Callers

nothing calls this directly

Calls 3

meanFunction · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected