Report available: here
Functions:
SoenMin(array)
return the min value of an arraySoenMax(array)
- return the max value of an arraySoenMode(array)
- return the array of most frequent values in the arraySoenMedian(array)
- return the median (middle number) for odd array and arithmetic mean of the two middle numbers if array is evenSoenMean(array)
- return the arithmetic mean (average) value of an arraySoenDeviation(array)
- return the deviation of an array
Additional functions:
SoenLen(array)
- return the length of an arraySoenSqrtA(number)
- return the square root on the number (more accurate)SoenSqrtB(number)
- return the square root of the numberSoenSort(array)
- return the sorted array by using quick sort algorithm
Before start unit tests you have to install the testthat package via RStudio manu or via R console install.packages("testthat")
.
For running the project, you have to start the init.R script from src folder by any IDE or via console.
For running the unit tests you have to start the tests.R script from src folder by any IDE or via console. The test cases are in the tests folder
The documentation in formats latex and pdf are in doc folder.