search for: dosegroup

Displaying 1 result from an estimated 1 matches for "dosegroup".

Did you mean: diskgroup
2010 Feb 25
2
Ordering categories on a boxplot - a serious trap??
...R's part was to allow me to do it. My goal was to control the order of factor levels appearing horizontally on a boxplot. Enter search engines and perhaps some creative stupidity on my part, and I came up with the following: v=read.table("factor-order.txt",header=TRUE); levels(v$doseGroup) = c("L", "M", "H"); boxplot(v$dose~v$doseGroup); A good way to see the trap is to evaluate: v=read.table("factor-order.txt",header=TRUE); par(mfrow=c(2,1)); boxplot(v$dose~v$doseGroup); levels(v$doseGroup) = c("L", "M", "H&qu...