Last data update: 2014.03.03

R: Summarize an Agreement Object
summary.reportR Documentation

Summarize an Agreement Object

Description

This function is a method for summary for a unified agreement object class report, which can be get from function agreement.

Usage

## S3 method for class 'report'
summary(object, ...)

Arguments

object

The name of an object of class report.

...

Arguments passed to the print method.

Author(s)

Yue Yu <yyu@imyy.net>

See Also

summary.agreement, agreement

Examples

data(DCLHb);
HemocueAve <- apply(DCLHb[,c("HEMOCUE1","HEMOCUE2")],1,mean);
SigmaAve <- apply(DCLHb[,c("SIGMA1","SIGMA2")],1,mean);

agr=agreement(y=HemocueAve,x=SigmaAve,V_label="Hemacue",H_label="Sigma",min=0,max=2000,by=250,CCC_a=0.9775,CP_a=0.9,TDI_a=150,error="const",target="random",dec=3,alpha=0.05);
summary(agr);

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/summary.report.Rd_%03d_medium.png", width=480, height=480)
> ### Name: summary.report
> ### Title: Summarize an Agreement Object
> ### Aliases: summary.report
> 
> ### ** Examples
> 
> data(DCLHb);
> HemocueAve <- apply(DCLHb[,c("HEMOCUE1","HEMOCUE2")],1,mean);
> SigmaAve <- apply(DCLHb[,c("SIGMA1","SIGMA2")],1,mean);
> 
> agr=agreement(y=HemocueAve,x=SigmaAve,V_label="Hemacue",H_label="Sigma",min=0,max=2000,by=250,CCC_a=0.9775,CP_a=0.9,TDI_a=150,error="const",target="random",dec=3,alpha=0.05);
> summary(agr);
Agreement Statistics
    CCC Precision Accuracy     TDI     CP RBS
 0.9866    0.9867   0.9999 127.487 0.9463   0

95% Confidence Limits
    CCC Precision Accuracy     TDI     CP RBS
 0.9838    0.9839   0.9989 136.388 0.9276   .

Allowance
    CCC Precision Accuracy TDI  CP RBS
 0.9775         .        . 150 0.9   .
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>