<p>Some weeks ago I had a presentation at my work place about “R for data science” that I’d like to share with you. I’ve written the slides in R and <a target="_blank" rel="nofollow" href="http://rmarkdown.rstudio.com/">rmarkdown</a> and uploaded them to <a target="_blank" rel="nofollow" href="http://rpubs.com/">rpubs.com</a>. I chose to use rmarkdown for my slides although we have great company PowerPoint templates, because I wanted to show how you can integrate creating slides in your data analysis workflow. In this post I share my presentation, some background information and how I prepared for the talk with you!</p>
<h1>Writing the presentation in R + rmarkdown</h1>
<p>Since I have used markdown and rmarkdown before, preparing the slides was pretty straight forward. I only had an issue with image sizes which I could resolve with an answer from stackoverflow. <a target="_blank" rel="nofollow" href="http://stackoverflow.com/questions/23619319/rpresentation-in-rstudio-make-image-fill-out-the-whole-screen/23746529#23746529"> Stackoverflow answer: Rpresentation in Rstudio – Make image fill out the whole screen</a>.</p>
<p><a target="_blank" rel="nofollow" href="http://blog.haunschmid.name/starting-love-rmarkdownayes-clustering-linear-regression/">Find out how I learned to love rmarkdown!</a></p>
<p>I used all the standard settings but for the next presentation I would definitely change the font size. We were sitting in a large meeting room and I think the people in the back could hardly read the text on my slides.</p>
<h1>Practicing the presentation</h1>
<p>Due to the fact that I am always super nervous when it comes to presenting in front of people (that’s not an exaggeration) I wanted to practice my presentation first. My cats have listened to some of my presentations before but I was not really sure they could ask the right questions. So I thought we have this great <a target="_blank" rel="nofollow" href="http://becomingadatascientist.com/learningclub/">Data Science Learning Club</a>, which should help learn people data science things they are not yet good or comfortable at. For me, presenting is part of data science so I asked in our <a target="_blank" rel="nofollow" href="https://datasciencelearningco.slack.com/">Learning Club Slack Channel</a> if anyone was interested in listening to my presentation. Two days before the actual presentation I was able to practice my presentation in front of a (very small) machine learning audience. This helped me a lot <img alt="🙂" class="wp-smiley" src="https://i0.wp.com/s.w.org/images/core/emoji/2.2.1/72x72/1f642.png?w=456&ssl=1" data-recalc-dims="1"></p>
<p>So if you have the same problem, just find someone online where you can practice your presentation using Skype, Hangout or whatever! </p>
<h1>The presentation</h1>
<p>Every year we can some work time on further education like university or online courses. The idea of this presentation was to share what we have learned in these courses so that everyone gets an overview. Since the regression courses were mostly theoretical, I thought an introduction to R might be a benefit for more people in our department. So please don’t be surprised why there is a slide with three regression courses at the beginning of the presentation <img alt="🙂" class="wp-smiley" src="https://i0.wp.com/s.w.org/images/core/emoji/2.2.1/72x72/1f642.png?w=456&ssl=1" data-recalc-dims="1"></p>
<p>The focus of the presentation is:</p>
<ul>
<li>Data handling with dplyr</li>
<li>Data visualisation with ggplot2</li>
<li>Model training and evaluation with caret</li>
<li>Presentation of results</li>
</ul>
<p>My slides are located <a target="_blank" rel="nofollow" href="http://rpubs.com/expectopatronum/introduction-data-science-r">here</a>.</p>
<h1>Links I shared</h1>
<p>At the end of the presentation I shared some links which I think are a good starting point if you want to get to know R!</p>
<ul>
<li><a target="_blank" rel="nofollow" href="http://r4ds.had.co.nz/">R 4 Data Science (book)</a></li>
<li><a target="_blank" rel="nofollow" href="https://www.ggplot2-exts.org/">ggplot2 extensions</a> (you might get a security warning)</li>
<li><a target="_blank" rel="nofollow" href="https://blog.rstudio.org/2016/09/15/tidyverse-1-0-0/">tidyverse (release post)</a></li>
<li><a target="_blank" rel="nofollow" href="http://tidyverse.org/">tidyverse.org</a></li>
<li><a target="_blank" rel="nofollow" href="http://topepo.github.io/caret/index.html">the caret package</a></li>
<li><a target="_blank" rel="nofollow" href="http://rmarkdown.rstudio.com/authoring_basics.html">Markdown basics</a></li>
<li><a target="_blank" rel="nofollow" href="https://www.datacamp.com/">datacamp</a></li>
<li><a target="_blank" rel="nofollow" href="https://www.rstudio.com/resources/cheatsheets/">RStudio cheatsheets (awesome!)</a></li>
</ul>
<p>The post <a target="_blank" rel="nofollow" href="http://blog.haunschmid.name/presentation-r-data-science/">Presentation “R for Data Science”</a> appeared first on <a target="_blank" rel="nofollow" href="http://blog.haunschmid.name/">verenahaunschmid</a>.</p>
<img height="1" alt="" width="1" src="http://feeds.feedburner.com/~r/RBloggers/~4/0jLo9Ef-rpQ">