powered by
Generates a data frame with unique random permutation states.
generate_unique_states_df(n, n_rows)
Data frame with n_rows rows and columns V1, V2, ..., Vn
Integer, size of each permutation state
Integer, number of unique states to generate
set.seed(42) df <- generate_unique_states_df(5, 10) head(df)
Run the code above in your browser using DataLab