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

Function lapply

inst/include/Rcpp/vector/ListOf.h:129–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127
128template <typename T, typename Function>
129List lapply(const ListOf<T>& t, Function fun) {
130 return lapply(t.get(), fun);
131}
132
133template <typename T, typename Function>
134T sapply(const ListOf<T>& t, Function fun) {

Callers 5

runit_lapplyFunction · 0.50
runit_lapply_rawfunFunction · 0.50
runit_lapply_lambdaFunction · 0.50
runit_lapply_seqFunction · 0.50
test_lapply_sumFunction · 0.50

Calls 1

getMethod · 0.45

Tested by 1

test_lapply_sumFunction · 0.40