Generation of A Random Population Mean
With the start of the app, a random population mean is generated using a R's random number generator with mean value of 500 and standard deviation of 500.
PopMean <- round( rnorm(1, mean=500, sd=500), 2)
PopMean
## [1] -189.12
Sampling
Sample points with a user-specified sample size 'sampleSize' are generated based on the randomly generated population mean with a fixed standard deviation value of 500.
sampleSize = 10; round(rnorm(sampleSize, mean=PopMean, sd=500), 2)
## [1] -611.88 16.88 -7.19 -97.08 240.63 243.34 -658.05 102.71
## [9] -275.73 172.99