Quantcast
Channel: Assign name of data frame to ggplot title in purrr loop - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by CzechInk for Assign name of data frame to ggplot title in purrr loop

Another similar option to what @GregorThomas mentioned in the comments, you could add a name variable to your data.frames and pull from that in your gplot() function. I've also shown how you might...

View Article


Assign name of data frame to ggplot title in purrr loop

I have two data sets from which I would like to generate histograms showing how the data overlap by name (A, B, C). I have written a custom function so I can use ggplot with map2. I would like the...

View Article

Browsing all 2 articles
Browse latest View live


Latest Images