Random Normal Variable Generator

Johann Raath
25 July 2018

Generator Introduction

The Random Normal Variable Generator generates a requested number of values, with prescribed mean and standard deviation values, and plots a histogram and density plot for the vector of numbers.

App Input Image

Interface

The application contains an input frame on the left where the mean, standard deviation, number of values, and random seed value can be specified.

App Tabs Image

The first tab (Generator Output) lists the values specified, as well as generates a histogram and density plot for the values that were generated. At the bottom of the tab the numbers that were generated are displayed (rounded to one decimal place). The second tab contains some help on how to use the application.

Example of Histogram

set.seed(1); hist(rnorm(1000, mean = 0, sd = 1), main = "Random Normal Distribution", xlab = "n = 1000, mean = 0, sd = 1")

plot of chunk unnamed-chunk-1

Example of Density Plot

library(ggplot2); set.seed(1); qplot(rnorm(1000, mean = 0, sd = 1), geom = "density", xlab = "n = 1000, mean = 0, sd = 1")

plot of chunk unnamed-chunk-2