Learn R Programming

AHPtools (version 1.0.1)

createRandomPCM: Create a Random Pairwise Comparison Matrix of given order n

Description

Create a Random Pairwise Comparison Matrix of order n for Analytic Hierarchy Process using Saaty's 17-point Fundamental Scale for comparison ratios of the upper triangular elements of the order n PCM

Usage

createRandomPCM(PCMsize)

Value

A Pairwise Comparison Matrix corresponding to the given order

Arguments

PCMsize

The order of the random 'PCM' to be generated

Examples

Run this code
PCM <- createPCM(5);
PCM <- createPCM(11);

Run the code above in your browser using DataLab