Learn R Programming

StatRank (version 0.0.6)

scramble: Scramble a vector

Description

This function takes a vector and returns it in a random order

Usage

scramble(x)

Arguments

x
a vector

Value

a vector, now in random order

Examples

Run this code
scramble(1:10)

Run the code above in your browser using DataLab