Publications by Roel M. Hogervorst

From spss to R, part 4

03.04.2016

This is the second part of working with ggplot. We will combine the packages dplyr and ggplot to improve our workflow. When you make a visualisation you often experiment with different versions of your plot. Our workflow will be dynamic, in stead of saving every version of the plot you created, we will recreate the plot untill it looks the way...

14184 sym R (7395 sym/16 pcs) 10 img

Your most valuable collaborator, future-you

25.05.2016

I was recently at a R users meetup where Hadley Wickham talked about data wrangling. He showed some interesting stuff! Did you know that you can put a data frame into a data frame? You can make a list of data frames and add that list to your data frame. Very cool, and more useful then I thought, but that is not what I wanted to talk about. I wou...

10456 sym R (713 sym/2 pcs) 4 img

Your most valuable collaborator, future-you

25.05.2016

I was recently at a R users meetup where Hadley Wickham talked about data wrangling. He showed some interesting stuff! Did you know that you can put a data frame into a data frame? You can make a list of data frames and add that list to your data frame. Very cool, and more useful then I thought, but that is not what I wanted to talk about. I wou...

10459 sym R (713 sym/2 pcs) 4 img

Non-standard-evaluation and standard evaluation in dplyr

12.06.2016

THIS POST IS NO LONGER ENTIRELY RELEVANT. DPLYR 0.7 HAS A SLIGHTLY DIFFERENT (AND SLIGHTLY MORE INTUITIVE) WAY OF WORKING WITH NON-STANDARD EVALUATION. I love the dplyr package with all of its functions, however if you use normal dplyr in functions in your package r-cmd-check will give you a warning: R CMD check NOTE: No visible binding for globa...

5051 sym R (3238 sym/11 pcs)

Non-standard-evaluation and standard evaluation in dplyr

12.06.2016

I love the dplyr package with all of its functions, however if you use normal dplyr in functions in your package r-cmd-check will give you a warning: R CMD check NOTE: No visible binding for global variable NAME OF YOUR VARIABLE 1. The functions do work, and everything is normal, however if you submit your package to CRAN, such a NOTE is not acce...

4913 sym R (3238 sym/11 pcs)

Introducing Badgecreatr, a package that places badges in your readme

07.07.2016

Introducing Badgecreatr, a package to create and place badges in your readme.Rmd file on Github. Badgecreatr will create the following badges (aka shields): Installation Install the package with install.packages("badgecreatr") How do you use badgecreatr? Badgecreatr has one main function: badgeplacer(). The most simple command is: badgecreatr::b...

2925 sym R (110 sym/1 pcs) 16 img

Introducing Badgecreatr, a package that places badges in your readme

07.07.2016

Introducing Badgecreatr, a package to create and place badges in your readme.Rmd file on Github. Badgecreatr will create the following badges (aka shields): Installation Install the package with install.packages("badgecreatr") How do you use badgecreatr? Badgecreatr has one main function: badgeplacer(). The most simple command is: badgecreatr::b...

2933 sym R (110 sym/1 pcs) 16 img

Submitting your first package to CRAN, my experience

08.07.2016

I recently published my first R package to The Comprehensive R Archive Network (CRAN). It was very exciting and also quite easy. Let me walk you through my process. First a description of my brand new package: badgecreatr, then a description of steps to take for submission. Package description When you go around github looking at projects you o...

6158 sym 6 img 1 tbl

Submitting your first package to CRAN, my experience

08.07.2016

I recently published my first R package to The Comprehensive R Archive Network (CRAN). It was very exciting and also quite easy. Let me walk you through my process. First a description of my brand new package: badgecreatr, then a description of steps to take for submission. Package description When you go around github looking at projects you o...

6158 sym 6 img 1 tbl

Plotting a map with ggplot2, color by tile

05.01.2017

Introduction Last week I was playing with creating maps using R and GGPLOT2. As I was learning I realized information about creating maps in ggplot is scattered over the internet. So here I combine all that knowledge. So if something is absolutely wrong/ ridiculous / stupid / slightly off or not clear, contact me or open an issue on the github p...

9215 sym R (6886 sym/30 pcs) 14 img