Displaying 1 result from an estimated 1 matches for "panelgrp".
2006 Jun 06
0
xYplot, lmline and abline
...ing symbols.
In addition, I have not yet figured out how to place the 'Key()' in the
empty grid cell.
Please see the example code below. Note that I am running R2.2.1 on
windows.
Any help would be greatly appreciated.
Thanks for your time,
Dan
library(Hmisc)
windows(record=TRUE)
panelgrp=rep(LETTERS[1:3], 20)
sites=c(rep("d", 15), rep("e", 15), rep("f", 15), rep("g", 15))
data1=data.frame(panelgrp=factor(panelgrp), sites=factor(sites))
data1$pred=runif(60)
data1$resp=runif(60)
lmcoef=lm(resp~pred, data=data1[data1$panelgrp=="A",])...