Riley Visscher
2025-11-13
This Shiny App can do a number of things for you.
It will generate a series of random numbers, from the range you specify
It will calculate the mean, minimum, maximum, 1st Quartile, and 3rd Quartile of those randomly generated numbers
It will generate:
1. the previously calculated summary
2. a boxplot of that summary
3. a scatterplot of those same numbersThe range of numbers for both the boxplot and the scatterplot must lie between 5 and 1,000.
The seed is set to ensure reproducibility.
set.seed(123)
n_sample <- sample(5:1000)
rand_data <- runif(n_sample, min = 5, max = 1000)
summary(rand_data)## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 8.518 245.992 501.249 505.554 755.350 999.526
The scatterplot is generated with the same series of random numbers as the summary and boxplot.
set.seed(123)
plot(rand_data,
main = "Scatter Plot of Random Numbers",
xlab = "Index",
ylab = "Value",
pch = 19,
col = "darkorange")The interactive Shiny App is available at: https://rileyvicoursera.shinyapps.io/course-project/