[R] R exercises - too confusing for me.

Kenn Konstabel lebatsnok at gmail.com
Wed May 9 15:20:45 CEST 2012


Hi,

But what if your professor reads this list?

Anyway, who cares, two hints:

1. It might be useful to read the explanations provided with the
problem. For example, your exercise tells you that "use the help
command ?rexp to read how to generate exponentially distributed
variables". On a careful reading, that may explain why they want you
to use rexp. Perhaps they want you to generate an exponentially
distributed variable?

2. If you're given an exercise on a topic that is not covered %in%
c(lectures, required.readings) and you can't figure it out by
yourself, maybe it would be useful to do some background reading
before you go on. You can find free books on R at
http://cran.r-project.org/other-docs.html . Or you could try
complaining the gray beard about asking you to do things he hasn't
taught you ... and then see what happens next.

Best regards,

K

On 5/9/12, UdVBIA <arturrutkiewicz at gmail.com> wrote:
> Hi!
>
> I tried everything to avoid asking somebody but I have absolutely no clue
> how to solve this tasks. I'll be really glad if someone could explain that
> to me...
>
> 1.
>
> http://r.789695.n4.nabble.com/file/n4619850/task1.gif
>
> Well, the first part is of course no problem but I have really trouble with
> the tasks i) and ii). just don't know how to write the function and why I
> should use rexp...
>
> 2.
> http://r.789695.n4.nabble.com/file/n4619850/task2.gif
>
> Oh I love loops. Well - "I think" I have to solve the first task to solve
> this...
>
> Well there is more but I'll tried to fight with it a few more hours.
>
> Thanks for helping!
>
>
> --
> View this message in context:
> http://r.789695.n4.nabble.com/R-exercises-too-confusing-for-me-tp4619850.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> 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.
>



More information about the R-help mailing list