Displaying 1 result from an estimated 1 matches for "grpx".
Did you mean:
grp
2006 Jan 11
1
4 smoothed lines on xyplot
...ackground the lines change to dots and dashs. When I don't use a white
background it seems to use the solid colors lines.
plotchar <- c(3, 4 ,1 ,2 )
colr<- c(?green?, ?blue? , ?red?, ?black?)
library(lattice)
trellis.par.set(col.whitebg() )
xyplot(AWGT ~ lipid_adj_lpcb2_cent, groups=grpx, data=pcb_graph3,
auto.key=TRUE, col=colr,
pch=plotchar, type=c(?1?, ?smooth?), span=.8,
key=list(x=.14, y=.84,
points=list(col=colr, pch=plotchar),
lines=list(col=colr, pch=plotchar),
text=list(levels(pcb_graph3$grpx) , col=colr, pch=plotchar)))
--
Dean Sonneborn, MS
Programmer Analyst
De...