Introduction to R

1,302 views
1,177 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,302
On SlideShare
0
From Embeds
0
Number of Embeds
8
Actions
Shares
0
Downloads
106
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Introduction to R

  1. 1. INTRODUCTION TO SETIA PRAMANA setia.pramana@stis.ac.id
  2. 2. WHAT IS R? • A language and environment for statistical computing and graphics. • An integrated suite of software facilities for data manipulation, calculation and graphical display. • First appeared in 1996 by Prof. Ross Ihaka and Robert Gentleman of the University of Auckland, NZ. • GNU software -> Free. Similar like S language. • open source, maintained and developed by a community of developers.
  3. 3. R INCLUDES • an effective data handling and storage facility, • a suite of operators for calculations on arrays, in particular matrices, • a large, coherent, integrated collection of intermediate tools for data analysis, • graphical facilities for data analysis and display either on-screen or on hardcopy, and • a well-developed, simple and effective programming language which includes conditionals, loops, user-defined recursive functions and input and output facilities. http://www.r- project.org/
  4. 4. WHY R? • R is HOT !
  5. 5. WHY R? • R is HOT ! • It's free, open source, powerful and highly extensible • It is not only statistical software but also a language • > 5000 add-on packages  lots of pre-prepared packages (http://cran.r-project.org/web/packages/) • With many applications http://cran.r-project.org/web/views/ • Access to powerful, cutting-edge analytics
  6. 6. WHY R? • Flexible (complex or standard statistical practices, bayesian modelling, GIS map building, building interactive web applications, building interactive tests, etc. ) • We can make our own package and publish it • Great Graphics and data visualization • Can be used for High Performance Computer Clusters • Well Supported by R Community (http://www.inside-r.org/r- resources-web) • And many more…..
  7. 7. BUT….. • R has no warranty • Command Line Interface : difficult for some users. • Users must learn a new way of thinking about data and data analysis sequence • ….. I guess
  8. 8. COMPANIES USING R IN 2013 • The New York Times routinely uses R for interactive and print data visualization. • Google has more than 500 R users. • The FDA supports the use of R for clinical trials of new drugs. • The National Weather Service uses R to predict the extent of flooding events. • Zillow uses R to model housing prices. • The Consumer Financial Protection Bureau uses R and other open source tools. • Twitter uses R for data science applications on the Twitter database. • FourSquare uses R to develop its recommendation engine. • Facebook uses R to model all sorts of user behaviour.
  9. 9. B P S ?
  10. 10. R • Download from CRAN. • Command Line Interface (for some is nightmare, for others advantages) • Also provide Graphical User Interface: RCommander, IsoGeneGUI, Shiny, etc.
  11. 11. R STUDIO • Download from Rstudio.com • Powerfull IDE (Integrated Development Environment) for R.
  12. 12. R COMMANDER • Rcommander.com • Helpful for R beginner • Install inside R
  13. 13. R LIBRARY/PACKAGES R Base Packages lme4 IsoGene foreign survival zoo
  14. 14. I CONTRIBUTES TO THESE R PACKAGES • IsoGene • IsoGeneGUI • nea • neaGUI • biclustGUI • OCRME • More detail: http://setiopramono.wordpress.com/r-programming/
  15. 15. PRACTICE TIME

×