[[Rcpp::export]]
| 1232 | |
| 1233 | // [[Rcpp::export]] |
| 1234 | CharacterVector sample_chr(CharacterVector x, int sz, bool rep = false, sugar::probs_t p = R_NilValue) |
| 1235 | { |
| 1236 | return sample(x, sz, rep, p); |
| 1237 | } |
| 1238 | |
| 1239 | // [[Rcpp::export]] |
| 1240 | ComplexVector sample_cx(ComplexVector x, int sz, bool rep = false, sugar::probs_t p = R_NilValue) |