Displaying 1 result from an estimated 1 matches for "graphic_h1".
Did you mean:
graphic_1
2008 Dec 05
1
Problems with lattice-histograms or png within loops
Dear R-users,
I have a question concerning the use of lattice plots within for-loops.
I want to create a png file containing a lattice histogram which works out
fine (part 1).
When I loop the whole code, the graphic file does not contain anything (part
2).
I can fix it by wrapping the histogram function into a print command (part
3).
Why is that so? Why can I not loop it directly?
TIA,
Mark