Displaying 1 result from an estimated 1 matches for "fignam".
Did you mean:
figa
2008 Feb 25
1
Problems with augPlot and for loops
...70 times. If I try to run the command
plot(augPred(DatasetGrp.fit,primary = ~R, level =
0:1),title=names(DatasetSa)[i])
outside the loop everything goes fine.
I also tried to open and close a device in each loop iteration,
for (i in 1:length(names(DatasetSa))) {
#[...]
fignam <- paste("SaReg",i,sep=".");
fignam <- paste(fignam,".eps",sep="");
postscript(file=fignam)
tempData<-augPred(DatasetGrp.fit,primary = ~R, level = 0:1)
plot(tempData)
dev.off()
#[...]
}
in that case I...