Function to buil file with judment matrices
xlsx_ahp(m, file, sheet, append)Returns a xlsx document
#m=diag(10) #file1 = xlsx_ahp(m, file = "Example_1.xlsx", sheet = "M1", append = FALSE) #file2=xlsx_ahp(m, file = "Example_1.xlsx", sheet = "M2", append = TRUE)
#see file Example_1.XLSX in working directory
is a matrice of pairwise comparison
is the path to the output file.
is a character string with the sheet name.
is a logical value indicating if m should be appended to an existing file. If TRUE the file is read from disk.
Luciane Ferreira Alcoforado