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

Function sample_dot_int

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

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

1214
1215// [[Rcpp::export]]
1216IntegerVector sample_dot_int(int n, int sz, bool rep = false, sugar::probs_t p = R_NilValue, bool one_based = true)
1217{
1218 return sample(n, sz, rep, p, one_based);
1219}
1220
1221// [[Rcpp::export]]
1222IntegerVector sample_int(IntegerVector 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