Last data update: 2014.03.03

R: Intra-Intra Ratio (IIR)
IIRR Documentation

Intra-Intra Ratio (IIR)

Description

Intra-Intra Ratio (IIR) compares the intra-rater precision among selected raters.

Usage

IIR(data, k, m, testindex, refindex, error, alpha = 0.05)

Arguments

data

Name of your dataset.

k

Number of methods/raters/instruments/assay, etc.

m

Number of replications for each methods/raters/instruments/assay, etc.

testindex

The index for the test raters, it must be a numerical vector. For example, if k=3 and testindex=c(1,2), the first and second rater are selected as the test raters for calculating IIR.

refindex

The index for the reference raters, it must be a numerical vector. For example, if k=3 and refindex=3, the third rater is selected as the reference raters for calculating TIR.

error

error="const" for the constant error structure for continuous data. error="prop" for the proportional error structure for continuous data. Here, log transformation to data will be applied for the continuous data. For categorical data, use error="const".

alpha

100(1-alpha)

Value

Return a list of values

IIR

The estimator of IIR.

IIR_upper

The upper 1-alpha/2 confidence limit for IIR.

IIR_lower

The lower 1-alpha/2 confidence limit for IIR.

Note

The selected two sets of test and reference raters should be mutually exclusive.

Author(s)

Yue Yu <yyu@imyy.net>

See Also

TIR_IIR, TIR

Examples

data(DCLHb);
IIR(DCLHb, k=2,m=2,testindex=1,refindex=2,error="const",alpha=0.05);

Results


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(Agreement)
Loading required package: R2HTML
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/Agreement/IIR.Rd_%03d_medium.png", width=480, height=480)
> ### Name: IIR
> ### Title: Intra-Intra Ratio (IIR)
> ### Aliases: IIR
> 
> ### ** Examples
> 
> data(DCLHb);
> IIR(DCLHb, k=2,m=2,testindex=1,refindex=2,error="const",alpha=0.05);
$IIR
[1] 0.3482839

$IIR_upper
         [,1]
[1,] 0.642917

$IIR_lower
          [,1]
[1,] 0.1886739

> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>