Sent from my phone. Please excuse my brevity.
On February 18, 2017 8:21:39 AM PST, Vasilis Bardakos <gratebill at yahoo.gr> wrote:
>Dear Sirs,
>I'm trying to demonstrate and compare my data first digit distributions
>in comparison with benford's law, but I cannot figure out how do a
>correct ggplot histogram. plot() works fine though.
>The data are the following (probabilities):
>[1] 0.37101911 0.17515924 0.08917197 0.08121019 0.06210191 0.06050955
>0.07484076 0.03662420 0.04936306
>[2] 0.524419536 0.253002402 0.092073659 0.032826261 0.025620496
>0.019215372 0.008807046 0.012009608 0.032025620
>
>These are my data first digit probabilities, while below there is the
>original distribution which would be represented with a smooth line:
>[3] 0.30103000 0.17609126 0.12493874 0.09691001 0.07918125 0.06694679
>0.05799195 0.05115252 0.04575749
>
>Kind Regards,V. Bardakos
> [[alternative HTML version deleted]]
>
>______________________________________________
>R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide
>http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.