130 likes | 240 Views
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
E N D
GradQuant SponsoredIntroduction 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 • 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
Workshop Outline • Familiarizing oneself with the R studio interface • Basics on using R • Getting help on functions – learn how to help yourself! • Basic functions/commands • Brief intro on data management and analysis
Familiarizing with the R Studio Interface • Switch to R studio!
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 (‘+’)
The Basics • Switch to R studio!
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”)
Let’s get some help ?!?! • Switch to R studio!
The Most Common Commands The basics of coding! • Switch to R studio!
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!
Questions? • Let’s take some time to reflect and review what we have learned!
What would you want covered in Advanced Topics? • Let’s take some time to make sure we are on the same page!