Re: [R] Help needed with ggplot2

2021-08-21 Thread Avi Gross via R-help
r issues but there are documented ways. Bold text is an example that can be changed in many places. In this case, note the addition to the following part from above: fontface="bold as in: geom_text(aes(label = percentage), size = 4, position = position_dodge(width = 1.1),

Re: [R] Help needed with ggplot2

2021-08-21 Thread bharat rawlley via R-help
Thank you, I have tried to do a better job here -  Data -  email <- structure(list(percentage = c(57.14, 29.76, 69.32, 28.41, 57.89,                                        34.21, 58.59, 33.33, 48.42, 42.11, 59.77, 29.89, 72.13, 18.03,                                        53.33, 33.33, 55.1,

Re: [R] Help needed with ggplot2

2021-08-21 Thread Bert Gunter
See ?dput for how to provide a reproducible example (a reprex). Or see here: https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example It will improve your chance of getting a helpful and quick response. Cheers, Bert Gunter "The trouble with having an open mind is th

[R] Help needed with ggplot2

2021-08-21 Thread bharat rawlley via R-help
Hello, on using the following code for the following data, the graph I get has an x axis where years are mentioned as 2012.5, 2017.5 etc.  I have the following questions -  Q1 How can I make the years on x axis as 2011, 2012, 2013, 2014 and so on..  Q2 Is there any way to create a small gap betw