permute_free_cpp function

(C++) Unrestricted Permutation of Cases

(C++) Unrestricted Permutation of Cases

Unrestricted shuffling of cases within the whole sequence.

permute_free_cpp(x, block_size, seed = 1L)

Arguments

  • x: (required, numeric matrix). Numeric matrix to permute.
  • block_size: (optional, integer) this function ignores this argument and sets it to x.nrow().
  • seed: (optional, integer) random seed to use.

Returns

numeric matrix

See Also

Other Rcpp_permutation: permute_free_by_row_cpp(), permute_restricted_by_row_cpp(), permute_restricted_cpp()

  • Maintainer: Blas M. Benito
  • License: MIT + file LICENSE
  • Last published: 2025-02-01