Learn R Programming

MethComp (version 1.30.0)

cardiac: Measurement of cardiac output by two different methods.

Description

For each subject cardiac output is measured repeatedly (three to six times) by impedance cardiography (IC) and radionuclide ventriculography (RV).

Arguments

Format

A data frame with 120 observations on the following 4 variables.

meth

a factor with levels IC RV

item

a numeric vector giving the item number.

repl

a numeric vector with replicate number.

y

the measuremnts of cardiac output.

Details

It is not entirely clear from the source whether the replicates are exchangeable within (method,item) or whether they represent pairs of measurements. From the description it looks as if replicates are linked between methods, but in the paper they are treated as if they were not.

Examples

Run this code

data(cardiac)
cardiac <- Meth(cardiac)
summary(cardiac)
# Visually check exchangeability
plot( cardiac )
plot( perm.repl( cardiac ) )
BA.est(cardiac)
# Run MCmcmc using BRugs for an insufficient amount of iterations
if (FALSE) card.mi.ir <- MCmcmc( cardiac,
                               beta=FALSE, random=c("mi","ir"),
                               n.iter=100, trace=T )
print( card.mi.ir )

Run the code above in your browser using DataLab