My code for multiple plots is as
for (i in 3:5) {
#paste(names(normalized_ge_data))
file_name = paste(as.character(i), ".png")
png(file_name)
g + geom_boxplot(aes(fill=factor(ge_data$hasServiced))) + geom_jitter()
dev.off()
}
I want to have files like 3.png, 4.png, and so on. How to achieve this?
g + geom...line withplot(...).plot(g + geom_boxplot(aes(fill=factor(ge_data$hasServiced))) + geom_jitter())?print()orplot()should work.