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

Function meanLogical

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

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

764
765// [[Rcpp::export]]
766double meanLogical(Rcpp::LogicalVector x) { return(Rcpp::mean(x)); }
767
768// [[Rcpp::export]]
769Rcomplex meanComplex(Rcpp::ComplexVector x) { return(Rcpp::mean(x)); }

Callers

nothing calls this directly

Calls 1

meanFunction · 0.50

Tested by

no test coverage detected