powered by
This function reads the text file in the specified path and checks if each row is a proper permutation
read.perms(path)
A collection of permutations in matrix form
string with a path
path = system.file("test.txt", package="PerMallows") sample = read.perms(path)
Run the code above in your browser using DataLab