Displaying 1 result from an estimated 1 matches for "graphic_3".
Did you mean:
graphic_1
2008 Dec 05
1
Problems with lattice-histograms or png within loops
...# part 1
png(filename = "graphic_1.png")
histogram( ~ Sepal.Length | Species, data = iris)
dev.off()
### part 2
for (i in c(1))
{
png(filename = "graphic_2.png")
histogram( ~ Sepal.Length | Species, data = iris)
dev.off()
}
### part 3
for (i in c(1))
{
png(filename = "graphic_3.png")
print(histogram( ~ Sepal.Length | Species, data = iris))
dev.off()
}