Michael-Whitehouse/OneSwapSC1: contains a function to see if a vector can be ordered with at most one swap

The package contains a function to determine whether or not a vector can be ordered with at most one swapping of positions of 2 values in a given vector.

Getting started

Package details

AuthorMichael Whitehouse
MaintainerMichael Whitehouser <mw16518@my.bristol.ac.uk>
LicenseGPL
Version0.1.0
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("Michael-Whitehouse/OneSwapSC1")
Michael-Whitehouse/OneSwapSC1 documentation built on Oct. 30, 2019, 9:27 p.m.