class: center, middle, inverse, title-slide # .center[.large[Stop Lying to Yourself]] ## .emphasize2[.center[You’ll Never Learn R]] ### .center[.emphasize[Shea Fyffe]] ### .center[.font80[George Mason University]] ### .center[.font60[09 September, 2019
(Updated:17 September, 2019)]] --- class: inverse, center, middle <style> p.caption { font-size: 0.6em; font-weight: 400; position: absolute; top: 305px; right: 128px; } .emphasize { font-size: 110%; color: #F97B64; } .emphasize2 { font-size: 105%; color: #019191; } </style> https://tinyurl.com/gmuIOBBrquiz --- # Do I know R? <br> <br> <br> .font120[ * I knew **ZERO** R when I started my first job * I've been using R for 4.5 years * I started learning R outside of Academia * I've developed 2 proprietary R Packages (*RTA*, Amazon; *ips.tools*, Inteleos) ] --- class: top # The 5 Reasons You'll Never Learn R ##### - You don't think R is important ##### - You don't actually know what R is ##### - You're not *learning* R, you're *using* R ##### - You're too comfortable to be uncomfortable ##### - You don't believe in yourself -- .center[ ] --- class: inverse, center, middle # Let's Begin .center[ ] --- class: inverse, center, middle # Chapter 1: R isn't important, it doesn't help me --- # Avoidant Motivators ## Academic * Social Science Curriculum is VERY slow to adopt R <sup>1</sup> * Social Science Research is VERY quick to adopt R <sup>2</sup> -- ## Professional * Organizations are moving away from SPSS <sup>3</sup> * R increases your salary outlook and desirability to companies <sup>4</sup> .footnote[[1] Franklin, 2018; [2] Robinson, 2017; [3] Muenchen, 2016; [4] O'Reilly Survey, 2014] --- # Approach Motivators: Academic #### How long do you waste: ### collecting data? ### trying to make that perfect visual? ### coding things? --- # Approach Motivators: Practitioner ### $2,850.00 USD <sup>5</sup> ### 9/10 <sup>6</sup> ### 1.8% <sup>7</sup> .footnote[[5] IBM, 2019; [6] LinkedIn, 2019; [7] StackExchange, 2019] --- # A Personal Brand **WARNING:** There is a slight chance that you will become .emphasize2[the center of attention]. -- .center[  ] --- class: inverse, center, middle # Chapter 2: You don't know what R is (and what it's not) --- class: inverse, center, middle # Iceland .center[  ] --- class: inverse, center, middle # You may use this magical translation dictionary, but you can't learn words/phrases that aren't in it <br> <br> # .font80[OR] <br> <br> # You get nothing, you must learn the language on your own --- ### R is a software *language* ### R is **not** a software *package*, like those frequently used in the Social Sciences (e.g. *SPSS*, *Mplus*, *Microsoft Excel*, *HLM*) ### You now move from a *reader* to a *writer* --- class: inverse, center, middle input >> ~~program~~ >> computer >> output -- input >> **program** >> computer >> output --- class: inverse, center, middle # Chapter 3: You're not *learning* R, you're *using* R --- class: inverse, center, middle *The Statistical Analyst* --- class: inverse, center, middle # Context shouldn't matter --- class: inverse, center, middle # You should be able to "write" about things other than statistics --- class: inverse, center, middle # R is a learning experience it's NOT an experience to assess your learning --- class: inverse, center, middle > Got no jumper but I ball a lot<sup>8</sup> .footnote[[8] Post Malone] --- # Programming Principles .font120[ * Abstraction * DRY (Do Not Repeat Yourself) * Decompisition * Reuse * Single Responsibility ] --- class: inverse, center, middle # How do you fold your clothes? --- class: inverse, center, middle # Chapter 4: You're too comfortable to be uncomfortable > If you understand what you're doing, you're not learning anything. --- class: inverse, center, middle Solve for *X*: `$${X} = 2(5 + 2)$$` -- now try in r ```r *2(5 + 2) ``` --- class: inverse, center, middle .center[.emphasize[ ## R is a naive genius ]] --- class: inverse, center, middle .center[.emphasize[ ## "I'll learn when I have time to learn" ]] --- class: inverse, center, middle # Chapter 5: You don't believe in yourself --- class: inverse, center, middle .center[.emphasize[ Failure != !Success ]] --- class: inverse, center, middle .center[.emphasize[ Failure == !Trying ]] --- class: inverse, center, middle > I don't want to learn R right now. --- class: inverse, center, middle .center[.emphasize[ ## When you find it useful ## When you have the time ## When you are ready to be uncomfortable ## When you are poised to climb the hill ]] --- class: inverse, center, middle # Tips --- class: inverse, center, middle .center[.emphasize[ ## Find a Partner and a Project ]] Kaggle, SIOP ML, Data Camp --- # Focus on Comparison .font110[ - logical/numeric/character/double/complex - vector/list/dataframe/matrix/array - object/function - function/script - replacement function/infix function/prefix function - object-oriented programming/functional programming ] --- ## Start Slow Read the first 6 chapters of [this book](https://drive.google.com/file/d/1WHDilXUZq1HyIdkYVX3bmogFWfePK8Oc/view) Go here: http://rpubs.com/Shea-Fyffe/WorkshopforSocialSciences --- class: inverse, center, middle .center[.emphasize[ ## Uninstall SPSS ]] --- class: inverse, center, middle <img src="https://seeklogo.com/images/G/github-logo-7880D80B8D-seeklogo.com.png" style="width:20px; height:20px;position:absolute;top:449px;right:599px;" /> <img src="https://image.flaticon.com/icons/png/512/61/61109.png" style="width:20px; height:20px;position:absolute;top:396px;right:620px;" /> # Thank you! .emphasize2[Feel free to reach out if you have any questions: __email:__ sfyffe@masonlive.gmu.edu https://linkedin.com/in/sheafyffe/ https://github.com/Shea-Fyffe]