MethComp: Summarize conversion equations and prediction intervals...

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/MethComp.R

Description

Takes the results from BA.est, DA.reg, AltReg or MCmcmc and returns a MethComp object, suitable for displaying the relationship between methods in print pr graphic form.

Usage

1
MethComp(obj)

Arguments

obj

A MethComp or MCmcmc object.

Details

Using MethComp on the results from BA.est or AltReg is not necessary, as these two functions already return objetcs of class MethComp.

Value

MethComp returns a MethComp object, which is a list with three elements, Conv, a three-way array giving the linear conversion equations between methods, VarComp, a two-way array classified by methods and variance components and data, a copy of the original Meth object supplied — see the description under BA.est.

A MethComp object has an attribute Transform, which is either NULL, or a named list with elements trans and inv, both of which are functions. The first is the transformation applied to measurements before analysis; the results are all given on the transformed scale. The second is the inverse transformation; this is only used when plotting the resulting relationship between methods.

The methods print, plot, lines and points return nothing.

Author(s)

Bendix Carstensen, Steno Diabetes Center, bendix.carstensen@regionh.dk .

See Also

BA.est AltReg MCmcmc

Examples

1
2
3
4
5
6
7
8
data( ox )
BA.ox <- BA.est( ox, linked=TRUE )
print( BA.ox )
## Not run: 
AR.ox <- AltReg( ox, linked=TRUE  )
print( AR.ox )
plot( AR.ox ) 
## End(Not run)

MethComp documentation built on Jan. 20, 2020, 1:12 a.m.

Related to MethComp in MethComp...