Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 461 Bytes

File metadata and controls

14 lines (9 loc) · 461 Bytes

Calculate Subtraction Matrix

Calculate the Subtraction Matrix of a given a vector

  1. Put the files values.txt and subtraction_matrix.R in the same folder.
  2. Execute in the Terminal:
$ Rscript subtraction_matrix.R

The Warning message: "NAs introduced by coercion" indicates you have some non-numeric value(s) in your values.txt file.

  1. The output matrix should be in a Comma Separate Value (.csv) file named subtraction_matrix.csv.