read.perms {PerMallows}R Documentation

Read a text file with a collection of permtuations

Description

This function reads the text file in the specified path and checks if each row is a proper permutation

Usage

read.perms(path)

Arguments

path

string with a path

Value

A collection of permutations in matrix form

Examples

path = system.file("test.txt", package="PerMallows")
sample = read.perms(path)

[Package PerMallows version 1.13 Index]