| smaa.cf | R Documentation | 
Calculate SMAA confidence factors of the central weights.
smaa.cf(meas, cw)
| meas | Criteria measurements. An  | 
| cw | An  | 
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
smaa.cw
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.