plot.report: Plotting an Agreement Object

Description Usage Arguments Author(s) See Also Examples

View source: R/plot.report.R

Description

Perform the x-y plot for the agreement data. The x, y label, plotting range and axis increments are in the report object.

Usage

1
2
## S3 method for class 'report'
plot(x, ...)

Arguments

x

The name of an object of class report. It can be get from function agreement.

...

Arguments passed to the plot.method.

Author(s)

Yue Yu <yyu@imyy.net>

See Also

agreement

Examples

1
2
3
4
5
6
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);
plot(agr);

Example output

Loading required package: R2HTML

Agreement documentation built on May 29, 2017, 3:30 p.m.