I want a second y-axis, the difference of the two means over the years df$diff <- abs(df$mean1 - df$mean2) Here is my example with randomly generated data: #Create years When I use solutions suggested elsewhere like keyword and/or using the cex argument, suggested in another post here, it either becomes unreadable or is still too big. However, whenever I try to include a legend, the the legend dominates my plot. I am trying to plot some data over years with two y-axes in R.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |