read.perms: Read a text file with a collection of permutations

View source: R/PerMallows.R

read.permsR Documentation

Read a text file with a collection of permutations

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)

PerMallows documentation built on April 3, 2025, 11:09 p.m.