MethComp {MethComp} | R Documentation |
Summarize conversion equations and prediction intervals between methods.
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
MethComp(obj)
Arguments
obj |
A |
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
Examples
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)