2021年4月29日星期四

How to create ggplot for each dataframe in a list and export them in R?

I have a list of dataframes of data separated with different names (e.g., 57-block8, 58-block8, 59-block8, etc.). I wanna plot graphs for each of the split table using the same variables (i.e., BIN_END_TIME on the x-axis and AVERAGE_PUPIL_SIZE_BIN on the y-axis), and have each plot named with the respective names of the dataframe. I also wanna draw some x-intercept vertical lines on each plot derived using the value of the last row of the BIN_END_TIME column. Many thanks!

https://stackoverflow.com/questions/67327148/how-to-create-ggplot-for-each-dataframe-in-a-list-and-export-them-in-r April 30, 2021 at 09:40AM

没有评论:

发表评论