Miami University R Studio Worksheet
Description
Premise
The purpose of this assignment is primarily as a technology check. Your submitted document will show us that you have a working and the correct version of R and RStudio installed. It will also demonstrate that you have all the packages we will need in the class installed. Future assignments will focus on statistical analyses of real data and carry more weight towards your final grade.
Assignment
Do the following in RStudio:
1. Complete Homework 0 if you have yet to do so; namely, install the following packages into R:
tidyverse
knitr
GGally
ggfortify
gridExtra
emmeans
lindia
car
leaps
kableExtra
plotly
png
caret
2. Create an RMarkdown document containing two code 'chunks'. The first chunk will consist of loading the packages (using the library() function) we will use in this class (all those listed above). The second chunk runs two functions
Sys.info()
sessionInfo()
that display various information about your R session.
Your Rmarkdown document should not contain any other code or output (remove the code that uses the cars and pressure datasets) and have an appropriate title and author name.
'knit' your RMarkdown into an html file. Submit the generated html to Canvas.
NOTE: This assignment, and future assignments, are designed in such a way that we will be able to detect academic dishonesty. If you turn in another student's generated markdown document we will know and proceed with an academic dishonesty claim.
Additional Help
Visit http://rmarkdown.rstudio.com/lesson-1.html (Links to an external site.)Links to an external site. for additional help on RMarkdown.
RStudio Cheat Sheet: https://github.com/rstudio/cheatsheets/raw/master/rstudio-ide.pdf (Links to an external site.)Links to an external site.
RMarkdown Cheat Sheet: https://www.rstudio.com/wp-content/uploads/2015/02/rmarkdown-cheatsheet.pdf (Links to an external site.)Links to an external site.
-
Rating:
/5
Solution: Miami University R Studio Worksheet