Displaying 2 results from an estimated 2 matches for "lbtest".
Did you mean:
latest
2009 Mar 29
1
a loop for boxplot graphs
Dear Colleagues
I have the following code that generates a boxplot for one specific labtest:
boxplot.n(LBSTRESN~COHORT, main="Boxplot of laboratory data for XLXXX-XXX test=Creatinine",
subset = LBTEST=="Creatinine",
xlab = "Cohort Number",
ylab = "Units = umol/L",
varwidth=TRUE
I would like to know if there is a way to loop through the dataset and produce the boxplot for a number of specific labtest.
Looking at the documentation for loops I can't see how I w...
2009 Mar 03
1
sm.density.compare
I am running the sm.density.compare function amd I am getting the following error:
my code is > sm.density.compare(LBSTRESN,COHORT,xlab="Units = umol/L"subset = LBTEST=="Creatinine")
Error in if (from == to) rep.int(from, length.out) else as.vector(c(from, :
missing value where TRUE/FALSE needed
I do not understand the error and I have had no help when searching the WEB or the R documentation.
I have tried the sample program in the R doc:y <...