7.3 SHINY PROJECT 1
CREATING CODE
Recreate the R code found in Chapter 4 “Creating Your First shiny Project” from your readings in this module. The complete code appears following Figure 4-5. Stop before the “Working with ggplot” section.
Execute your code and then take a screenshot of your output. Move your slider and take a second screenshot of that output. Paste both screenshots into a document and submit your results for this assignment. You do not need to include your code in this submission.
Shiny Project #2
Creating code
Modify the base R version (not the ggplot version) of the “Another shiny Project” found in Chapter 4 of this module’s readings. Replace the “airquality” data set with the R built-in data set “mtcars”.
Use only the variables mpg, disp, hp, drat, wt, and qsec from the mtcars data set. Pick any two variables which make sense to use for the regression equation.
Copy your R code and program output in a document and submit your results for this assignment.