Displaying 1 result from an estimated 1 matches for "blastomere".
2005 May 13
2
Lattice plot within a "for" loop does not happen?
...substitute the appropriate variables for each plot. The basic command
works fine by itself and produces a nice plot:
> i<-3
> trellis.device(theme="col.whitebg")
> xyplot(as.formula(paste(tmp00[2*i], "~ ", tmp00[(2*i)-1],
+ "|Blastomere+Phenotype", sep="")),
+ data=tmp1,
+ panel=function(x,y,...){
+ panel.xyplot(jitter(x), jitter(y), pch=16, col="red")
+ if (max(x, na.rm=T)!=0.0) panel.xyplot(x, y, type="r",
lwd=2)
+ })
>
BUT, when I stick this in...