In this bite sized post, we will see how to compute column means in R using tidyverse. We will compute column means for a couple of scenarios. First we will see how to compute column means of a dataframe with no missing values. And then we will compute column means with missing values. We will […]
dplyr 1.0.0
How To Categorize Multiple Numerical Columns in R
Recently I had to convert a numerical matrix into categorical ones based on some conditions. Obviously there are multiple ways to go about. One of the key functions to categorize a numerical vector in R is to use cut() function, that allows to specify the intervals to categorize a numerical variable. Till now I was […]
dplyr 1.0.0 is here: Quick fun with Summarise() and rowwise()
New version of dplyr, version 1.0.0 is here. It was originally supposed to be available in early May and finally out on CRAN now. One of the cool things with the new dplyr version 1.0.0 is its cool new logo. Jokes apart, dplyr 1.0.0 is loaded with new features and Hadley Wickham has started teasing […]