
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 would change the "ylab","main"and "subset"  
 
Can someone refer me to a similar example in the online documentation?
 
Thanks,
 
 
Jim L 
	[[alternative HTML version deleted]]


