Displaying 1 result from an estimated 1 matches for "ijkdata".
Did you mean:
ijdata
2007 Aug 01
1
Problem to remove loops in a routine
...idata<-subset(mydata,mydata$PLOT==i)
for (j in 1:nDVID) {
#loop on DVID
# j=1
ijdata<-subset(idata,idata$DVID==j)
for (k in 1:nPer) {
#loop on Period
# k=1
ijkdata<-subset(ijdata,ijdata$OCC==k)
for (l in 1:nGRP) { #loop on Group
# l=1
subdata<-subset(ijkdata,ijkdata$GRP==l)
nModel<-nlevels(factor(subdata$MODEL))
#number of models to be plotted in this loop
mylegend<-c(&qu...