random_permutation_with_randomness: Random permutation of a vector

Description Usage Arguments

View source: R/random_permutation_with_randomness.R

Description

This function randomly permutes a vector or array of length n based on the Algorithm235. It also takes an input that specifies the percentage of hold fixed elements.

Usage

1

Arguments

a

A random vector or array.

percentage

The percentage of hold fixed elements in the array. It takes real value between 0 and 1, closed interval.


kelvinyangli/mbmml documentation built on June 29, 2020, 3:12 a.m.