This R package features implementations of the Euclidean algorithm, which calculates the greatest common divisor of two integers, and Dijkstra's algorithm, used for finding the shortest path in a graph. This package is a part of the coursework for the Advanced Programming in R course (732A94) at Linköping University.
To install this R package, you can utilize the devtools
package, which facilitates the installation of packages hosted on GitHub repositories. First, ensure you have this package installed by executing install.packages("devtools")
. Then, use the function devtools::install_github("aurora-mm/TwoFamousAlgorithms")
. This command will clone the repository and install the package directly into your R environment, making it readily available for use.
Linn Friberg, John Möller