gradquant sponsored introduction to r workshop
DESCRIPTION
GradQuant Sponsored Introduction to R Workshop . Heather Hulton VanTassel 1/16/2014. What is R?. R is an integrated suite of software facilities for data manipulation, calculation and graphical display. http://www.r-project.org/. Download R Studio. Download R here - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: GradQuant Sponsored Introduction to R Workshop](https://reader035.vdocuments.us/reader035/viewer/2022062501/5681692c550346895de06db5/html5/thumbnails/1.jpg)
GradQuant SponsoredIntroduction to R Workshop
Heather Hulton VanTassel1/16/2014
![Page 2: GradQuant Sponsored Introduction to R Workshop](https://reader035.vdocuments.us/reader035/viewer/2022062501/5681692c550346895de06db5/html5/thumbnails/2.jpg)
What is R?
• R is an integrated suite of software facilities for data manipulation, calculation and graphical display.
http://www.r-project.org/
![Page 3: GradQuant Sponsored Introduction to R Workshop](https://reader035.vdocuments.us/reader035/viewer/2022062501/5681692c550346895de06db5/html5/thumbnails/3.jpg)
Download R Studio
Download R here – http://www.rstudio.com/ide/download/
Helpful Manuals for R:– R intro manual
• http://cran.r-project.org/doc/manuals/R-intro.pdf
– “R Cookbook” by Paul Teetor
![Page 4: GradQuant Sponsored Introduction to R Workshop](https://reader035.vdocuments.us/reader035/viewer/2022062501/5681692c550346895de06db5/html5/thumbnails/4.jpg)
Workshop Outline
I. Familiarizing oneself with the R studio interface
II. Basics on using R
III. Getting help on functions – learn how to help yourself!
IV. Basic functions/commands
V. Brief intro on data management and analysis
![Page 5: GradQuant Sponsored Introduction to R Workshop](https://reader035.vdocuments.us/reader035/viewer/2022062501/5681692c550346895de06db5/html5/thumbnails/5.jpg)
Familiarizing with the R Studio Interface
•Switch to R studio!
![Page 6: GradQuant Sponsored Introduction to R Workshop](https://reader035.vdocuments.us/reader035/viewer/2022062501/5681692c550346895de06db5/html5/thumbnails/6.jpg)
The Basics - Useful tips on entering commands
• R is case sensitive!
• Commands are separated either by a semi-colon (‘;’), or by a new line
• Comments can be put in text, starting with a hashmark (‘#’)
• If a command is not complete at the end of a line, R will give a different prompt, by default (‘+’)
![Page 7: GradQuant Sponsored Introduction to R Workshop](https://reader035.vdocuments.us/reader035/viewer/2022062501/5681692c550346895de06db5/html5/thumbnails/7.jpg)
The Basics
•Switch to R studio!
![Page 8: GradQuant Sponsored Introduction to R Workshop](https://reader035.vdocuments.us/reader035/viewer/2022062501/5681692c550346895de06db5/html5/thumbnails/8.jpg)
Let’s get some help ?!?!• Use help(functionname) to get help– ?functionname also works
• Use args(functionname) for a quick reminder of the function arguments
• Use example (functionname) to see examples
• Use ??keyword for help searching– help.search(“keyword”)
![Page 9: GradQuant Sponsored Introduction to R Workshop](https://reader035.vdocuments.us/reader035/viewer/2022062501/5681692c550346895de06db5/html5/thumbnails/9.jpg)
Let’s get some help ?!?!
•Switch to R studio!
![Page 10: GradQuant Sponsored Introduction to R Workshop](https://reader035.vdocuments.us/reader035/viewer/2022062501/5681692c550346895de06db5/html5/thumbnails/10.jpg)
The Most Common Commands
The basics of coding!
• Switch to R studio!
![Page 11: GradQuant Sponsored Introduction to R Workshop](https://reader035.vdocuments.us/reader035/viewer/2022062501/5681692c550346895de06db5/html5/thumbnails/11.jpg)
Intro to Data Management/Analysis
• R comes with many built in data sets!– We will explore how we can play around with some of
them!
• Let’s first learn how to import a data set
• Let’s Switch to R studio!
Microsoft Excel Comma Separated Values Fi
![Page 12: GradQuant Sponsored Introduction to R Workshop](https://reader035.vdocuments.us/reader035/viewer/2022062501/5681692c550346895de06db5/html5/thumbnails/12.jpg)
Questions?
• Let’s take some time to reflect and review what we have learned!
![Page 13: GradQuant Sponsored Introduction to R Workshop](https://reader035.vdocuments.us/reader035/viewer/2022062501/5681692c550346895de06db5/html5/thumbnails/13.jpg)
What would you want covered in Advanced Topics?
• Let’s take some time to make sure we are on the same page!