R basic exercise

r

#1

Hello everyone,

I am new in R programming and I am doing some exercise to practice with the basis of R.
Could you please provide a solution for this exercise?

Use R to generate 100 random numbers for the following continuous probability distributions, then calculate their mean, standard deviation, five summary numbers, graph the histogram and plot the boxplot respectively for each of the following distributions:

  1. normal distribution, you can choose your own μ and σ
  2. Uniform distribution, you can choose your own a and b
  3. Log Normal distribution, you can choose your own μ and σ
  4. Binomial distribution, you can choose your own n and p
  5. Poisson distribution, you can specify your own λ

Thank you a lot for your help.