xlsx_ahp {AHPWR}R Documentation

build file with judment matrices

Description

Function to buil file with judment matrices

Usage

xlsx_ahp(m, file, sheet, append)

Arguments

m

is a matrice of pairwise comparison

file

is the path to the output file.

sheet

is a character string with the sheet name.

append

is a logical value indicating if m should be appended to an existing file. If TRUE the file is read from disk.

Value

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

Author(s)

Luciane Ferreira Alcoforado


[Package AHPWR version 0.1.0 Index]