rcpp_shuffle: rcpp_shuffle

View source: R/RcppExports.R

rcpp_shuffleR Documentation

rcpp_shuffle

Description

Rcpp shuffle vector.

Usage

rcpp_shuffle(x, elements)

Arguments

x

NumericVector with elements to shuffle.

elements

Logical if vector elements or iteratos are returned.

Details

Shuffles the element of a vector (or the elements iterators).

Value

vector

References

How to use time-based seed taken from <http://www.cplusplus.com/reference/algorithm/shuffle/>


Allgeier-Lab/arrR documentation built on Feb. 13, 2025, 7:44 a.m.