this function shuffles the items of a vector

func_shuffle(vec, times = 10)

Arguments

vec

is a vector of indices

times

is a number

Value

shuffled indices of a vector