smaa.cf {smaa} | R Documentation |
SMAA confidence factors
Description
Calculate SMAA confidence factors of the central weights.
Usage
smaa.cf(meas, cw)
Arguments
meas |
Criteria measurements. An |
cw |
An |
Details
The confidence factor for an alternative is its first-rank acceptability under its central weight.
Value
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")
.
Author(s)
Gert van Valkenhoef
See Also
Examples
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)