I have a data frame in R with the POSIXct sessionstarttime variable. Each line is identified by an integer identifier variable of the specified location. The number of rows is different for each location. I draw a general graph simply:
myplot <- ggplot(bigMAC, aes(x = sessionstarttime)) + geom_freqpoly()
Is it possible to create a cycle that will create and save such a schedule for each location separately?
Preferably if the file name matches the value of the ID variable?
And preferably with the same timeline for each chart?
source
share