[[Rcpp::export]]
| 1214 | |
| 1215 | // [[Rcpp::export]] |
| 1216 | IntegerVector 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]] |
| 1222 | IntegerVector sample_int(IntegerVector x, int sz, bool rep = false, sugar::probs_t p = R_NilValue) |