R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(Prize)
> png(filename="/home/ddbj/snapshot/RGM3/R_BC/result/Prize/CI.Rd_%03d_medium.png", width=480, height=480)
> ### Name: CI
> ### Title: Consistency index (CI) slot
> ### Aliases: CI Ci ci CI,ANY-method
>
> ### ** Examples
>
> mat <- matrix(nrow = 4, ncol = 1, data = NA)
> mat[,1] <- c(system.file('extdata','ind1.tsv',package = 'Prize'),
+ system.file('extdata','ind2.tsv',package = 'Prize'),
+ system.file('extdata','ind3.tsv',package = 'Prize'),
+ system.file('extdata','ind4.tsv',package = 'Prize'))
> rownames(mat) <- c('ind1','ind2','ind3', 'ind4')
> colnames(mat) <- c('individual_judgement')
>
> # non-weighted aggregation
> res <- gaggregate(srcfile = mat, method = 'geometric', simulation = 500)
Reading individual judgements.
Aggregating individual judgements with geometric mean (AIJ).
Computing group consistency ratio (GCR).
Computing consensus index (CI).
> CI(res)
ind1 ind2 ind3 ind4
1.011282 1.091878 1.006068 1.100064
>
>
>
>
>
> dev.off()
null device
1
>