Blog Archives

Version control with Git

February 29, 2016
By
Version control with Git

Keeping track of versions You work on a project and would like to keep track of what you did. That is why keep old versions of your files. That way you can go back if you messed up beyond recognition. Usually that looks like this: Or you use dropbox or something like it: Other people...

Read more »

Tidying your data

February 23, 2016
By
Tidying your data

Introduction To make analyses work we often need to change the way files look. Sometimes information is recorded in a way that was very efficient for input but not workable for your analyses. In other words, the data is messy and we need to make it tidy. Tidy data means 1: Each variable forms a column. Each observation forms a row. ...

Read more »

From spss to R, part 2

February 21, 2016
By
From spss to R, part 2

Introduction In this lesson we will open a .sav file in Rstudio and manipulate the data.frame. We will select parts of the file and create some simple overviews. First time with R? No problem, see lesson 1 (https://rmhogervorst.github.io/cleancode/blog/2016/02/20/from-spss-to-r-part1.html#introduction “From spss to R, part 1”) Introduction Download a .sav (SPSS) file ...

Read more »

From spss to R, part 1

February 19, 2016
By
From spss to R, part 1

Introduction This whole blog is devoted to R and clean coding in R. But what if you want to start with R? There are millions of websites devoted to learning R. just look at the number of hits on a certain search machine. Most of these hits start with the basics and slowly work your way...

Read more »

Portioning projects

February 13, 2016
By
Portioning projects

Often we write programs to automate things. The programs range from simple to complex. But in essence, you always do the same thing: You are trying to solve a problem. A common pitfall, at least for me, is that you start out to big. What you need to do is start simple and small, and only if your simple thing works,...

Read more »

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)