[R] Starting with R and distributions graphics

Andrea Fui warlock84 at gmail.com
Tue Dec 15 19:11:24 CET 2009


On Tue, Dec 15, 2009 at 6:37 PM, G. Jay Kerns <gkerns at ysu.edu> wrote:
>
> Dear Andrea,
>
> On Tue, Dec 15, 2009 at 11:19 AM, Andrea Fui <warlock84 at gmail.com> wrote:
> > HI, i'm really new of R and i need some help.
> >
> > I have to describe some distributions for some dices throw:
> > - launching 3 dices i need the distribution of the sum of the two higher
> > values
> > - launching 4 dices i need the distribution of the occurrences of the same
> > value
> >
> > possibly i need a way to compare the two distribution adding the fourth dice
> > to the first without summing it (only for occurrences count purpose)
> >
> > sorry for my english and thank you for the help :)
> >
> > Andrea
> >
> >        [[alternative HTML version deleted]]
> >
>
>
> I recommend the following, in the order given.
>
> http://www.r-project.org/posting-guide.html
>
> Then from the R command line:
>
> ?expand.grid
> ?transform
> ?apply
> ?aggregate
> install.packages("prob")
> library(prob)
> vignette("prob")   # see section 8
> ?rolldie
> ?addrv
> ?marginal
>
> Then turn off the computer, pick up a pencil, and solve the problems
> by hand.  Wait a minute,  maybe that should be step 1?
>

Thank you very much Prof.
I'll do as you suggest (and sorry for the html version)

> Have fun,
> Jay
>
>

Definitely i'll have.
Have a nice day,
Andrea




More information about the R-help mailing list