[[Rcpp::export]]
| 1220 | |
| 1221 | // [[Rcpp::export]] |
| 1222 | IntegerVector sample_int(IntegerVector x, int sz, bool rep = false, sugar::probs_t p = R_NilValue) |
| 1223 | { |
| 1224 | return sample(x, sz, rep, p); |
| 1225 | } |
| 1226 | |
| 1227 | // [[Rcpp::export]] |
| 1228 | NumericVector sample_dbl(NumericVector x, int sz, bool rep = false, sugar::probs_t p = R_NilValue) |