Sometimes, when one is making boxplot with ggplot2, one might like to order the boxes in a boxplot in a specific way. For example, one might want to sort the boxes in boxplot in ascending or descening order based on the mean or median values of groups in the boxplot. Reordering boxplots can reveal the […]
R
9 Ways To Create New Variables with tidyverse
When one wants to create a new variable in R using tidyverse, dplyr’s mutate verb is probably the easiest one that comes to mind that lets you create a new column or new variable easily on the fly. It is probably the go to command for every time one needed to make new variable for […]
4 Fantastic Data Science-y Books To Look Forward To
If you ask any practicing data scientist for recommendation for a good book to learn data science, you will get too many different useful books. Some may be introductory level, some may be introductory level with a bit of math not just coding, a bit advanced level, and some might be from different domains. It […]
RStudio:conf 2019 Tweets, Talks, and Slides
The Annual R festival aka RStudio:conf is happening this week. It is probably the most liked R conferences for all all things R and Data Science. If you are not attending in person, you can experience the conference remotely through live streaming of the conference for free now and recorded videos of the conference a […]
How To Collapse Multiple Text Columns in Dataframe Using Tidyverse?
Often you may have a data frame, where multiple columns are related and you may want to combine those related columns into a single column. In an earlier post, we saw how we can collapse a numerical data frame with related columns using Python. In this post, we consider the problem of collapsing or combining […]