Command Reference : Function Reference : Function Reference: P
  
 
@permute
Permutation of matrix.
Syntax: @permute(m)
m: data object
Return: data object
Returns a data object whose rows are randomly drawn without replacement from rows of the input m. The output has the same type and size as the input object.
To draw with replacement from rows of a data object, use @resample.
Examples
matrix xp = @permute(x)
yields the matrix XB whose rows were randomly sampled without replacement from the matrix X.
Cross-references
See also @colsort, @rowsort, and @sort.
See also @ranks as well as @capplyranks and @rapplyranks.
See also @resample.