Plotting an Agreement Object

Share:

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);