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

Function sample_lgl

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

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

1244
1245// [[Rcpp::export]]
1246LogicalVector sample_lgl(LogicalVector x, int sz, bool rep = false, sugar::probs_t p = R_NilValue)
1247{
1248 return sample(x, sz, rep, p);
1249}
1250
1251// [[Rcpp::export]]
1252List sample_list(List x, int sz, bool rep = false, sugar::probs_t p = R_NilValue)

Callers

nothing calls this directly

Calls 1

sampleFunction · 0.85

Tested by

no test coverage detected