Skip to content

4ban-university/RMathAndMeasurement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SOEN 6611 Software Measurement

Report available: here

Implementation

Functions:

  • SoenMin(array) return the min value of an array
  • SoenMax(array) - return the max value of an array
  • SoenMode(array) - return the array of most frequent values in the array
  • SoenMedian(array) - return the median (middle number) for odd array and arithmetic mean of the two middle numbers if array is even
  • SoenMean(array) - return the arithmetic mean (average) value of an array
  • SoenDeviation(array) - return the deviation of an array

Additional functions:

  • SoenLen(array) - return the length of an array
  • SoenSqrtA(number) - return the square root on the number (more accurate)
  • SoenSqrtB(number) - return the square root of the number
  • SoenSort(array) - return the sorted array by using quick sort algorithm

Installation

Before start unit tests you have to install the testthat package via RStudio manu or via R console install.packages("testthat").

Run

For running the project, you have to start the init.R script from src folder by any IDE or via console.

Testing

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

Documentation

The documentation in formats latex and pdf are in doc folder.

About

Software Measurement - descriptive statistics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages