search for: datasetsa

Displaying 1 result from an estimated 1 matches for "datasetsa".

Did you mean: datasets
2008 Feb 25
1
Problems with augPlot and for loops
...or loop I fit a nlme model and I'd like to plot its prediction of the dependent variable values. This is the code I'm using to plot the figures (I removed the commands I use to fit the model, but they are OK) postscript(file="saReg%03d.eps",onefile=FALSE) for (i in 1:length(names(DatasetSa))) { #[...] plot(augPred(DatasetGrp.fit,primary = ~R, level = 0:1),title=names(DatasetSa)[i]) #[...] } dev.off() When I run this code I only get one empty figure even though the loop is executed 70 times. If I try to run the command plot(augPred(DatasetGrp.fit,primary = ~R,...