[R] Graph and Compare Distributions
jdnewmil at dcn.davis.ca.us
Sat Feb 18 22:25:03 CET 2017
Please post your code. Read the Posting Guide, which points out that you need to put the code in the body of your email and make sure the email is sent in plain text format (a setting in your mail software).
This is not a "do your work for you" mailing list.
Sent from my phone. Please excuse my brevity.
On February 18, 2017 8:21:39 AM PST, Vasilis Bardakos <gratebill at yahoo.gr> wrote:
>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):
> 0.37101911 0.17515924 0.08917197 0.08121019 0.06210191 0.06050955
>0.07484076 0.03662420 0.04936306
> 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:
> 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
>PLEASE do read the posting guide
>and provide commented, minimal, self-contained, reproducible code.
More information about the R-help