RPresentation - Normal Distribution Shiny app

Alessandro Galletto
1/1/2020

My First Shiny Web App

I've wanted to see the normal distribution and I was curios for the seed functionality how changes the histogram. I order to have results reproducibility it is needed to have random variables but not so random and setting seed is basic. The web app is very simple but helps to visualize the normal distribution and also the impact of the different paramers.

Slide With Code

Paramemeters used:

  • Seed: the seed seed allows us to have the same random samples one time and another
  • Mean: mean of the random samples
  • Standard deviation: standard deviation of the random samples
  • Number of random samples: number of samples according with a normal deviation
set.seed(7)

Slide With Plot

Example of the default histogram when the shiny app start with a seed=7

![plot of chunk plot](RPresentation-figure/plot-1.png)