#### One Factor data
data(canine)
canine.data <- prepareCGOneFactorData(canine, format="groupcolumns",
analysisname="Canine",
endptname="Prostate Volume",
endptunits=expression(plain(cm)^3),
digits=1, logscale=TRUE, refgrp="CC")
canine.fit <- fit(canine.data)
canine.dwtable <- downweightedTable(canine.fit, cutoff=0.95)
downweightedTable(canine.fit, cutoff=0.75) ## No observation
## downweighted at least 25%
## Paired Difference data
anorexiaFT.data <- prepareCGPairedDifferenceData(anorexiaFT, format="groupcolumns",
analysisname="Anorexia FT",
endptname="Weight",
endptunits="lbs",
expunitname="Patient",
digits=1,
logscale=TRUE)
anorexiaFT.fit <- fit(anorexiaFT.data)
downweightedTable(anorexiaFT.fit, cutoffwt=0.25) ## No observation
downweightedTable(anorexiaFT.fit, cutoffwt=0.75) ## downweighted at least 25%
Run the code above in your browser using DataLab