smaa.cf {smaa} | R Documentation |
Calculate SMAA confidence factors of the central weights.
smaa.cf(meas, cw)
meas |
Criteria measurements. An N * m * n
array, where |
cw |
An m * n matrix of central weights, where each row corresponds to an alternative and each column to a criterion. |
The confidence factor for an alternative is its first-rank acceptability under its central weight.
An object of class smaa.cf
, with the following elements:
cf |
A vector of confidence factors, one for each alternative. |
cw |
The central weights (see |
The number of SMAA iterations is stored in attr(x, "smaa.N")
.
Gert van Valkenhoef
N <- 1E4; m <- 2; n <- 3 meas <- dget(system.file("extdata/thrombo-meas.txt.gz", package="smaa")) pref <- dget(system.file("extdata/thrombo-weights-nopref.txt.gz", package="smaa")) # Calculate central weights values <- smaa.values(meas, pref) ranks <- smaa.ranks(values) cw <- smaa.cw(ranks, pref) print(cw) cf <- smaa.cf(meas, cw) print(cf) plot(cf)