R

Comparing `panelr` and `plm`

It has been just a little more than a day since I announced my new R package, `panelr`, to the wider world. There's at least one comparable package for R, called `plm`, which is very good and should be particularly appealing for economists. This leads to the understandable question as to how `panelr` differs from `plm`.

A new package for panel data analysis in R

It has been a long time coming, but my R package panelr is now on CRAN. Since I started work on it well over a year ago, it has become essential to my own workflow and I hope it can be useful for others. panel_data object class One key contribution, that I hope can help other developers, is the creation of a panel_data object class. It is a modified tibble, which is itself a modified data.

Generate correlation matrices with complex survey data in R

The survey package is one of R’s best tools for those working in the social sciences. For many, it saves you from needing to use commercial software for research that uses survey data. However, it lacks one function that many academic researchers often need to report in publications: correlations. The svycor function in jtools (more info) helps to fill that gap.

Some R basics for SPSS users

There are a lot of reasons to use R instead of my field’s standby software, SPSS. With that said, I won’t get into them here. Instead, I just want to talk about a few things in R that might help a beginner get the hang of it.