Published inCodeXEasy Implementation of Dummy Coding/One-Hot Coding in RThis article summarizes some easy approaches to quickly convert categorical variables into 0–1 values together, with other variables kept…Oct 5, 20211Oct 5, 20211
A Simple but Comprehensive Explanation of Statistical Tests, Power, and More- Part BIn my previous article that discusses type 1 vs. type 2 error, I asked a question:Sep 18, 2021Sep 18, 2021
A Simple but Comprehensive Explanation of Statistical Tests with Type 1 vs.One reason for write this article is the recent popularity of A/B tests in business analytics. I was involved in designing several A/B…Sep 17, 2021Sep 17, 2021
Create a Wordcloud Plot in Less Than Ten Lines of R CodeI underestimated the popularity of wordcloud plots for non-data science individuals, such as my kids, who are eager to impress their…Jul 20, 2021Jul 20, 2021
Published inGeek CultureDealing With NAs in R: From Deletion to Replacing to Machine LearningWe frequently encounter datasets with missing values (represented as NAs in dataframe). Missing values render useless some part of the…May 21, 20212May 21, 20212
Published inCodeXJuggling Wide and Long Types Data in R: A Nice and Easy ApproachYou may hear people talking about wide and long type data. What is wide type data? Here is an example of the investment portfolio of five…May 18, 2021May 18, 2021
Published inCodeXA Comprehensive Summary of Data Import in R: From the Most User-Friendly to the Most Time-SavingIn this short article, I summarize different techniques in data import to R. A spectrum of approaches that trade-off speed vs convenience…May 15, 2021May 15, 2021
Functional Programming in R: A Weapon Instantly Buffing Your Coding PowerI have introduced pipe operations in Part 1. I will walk through the other powerful weapon in R programming: functions. The idea is that…May 2, 2021May 2, 2021
Published inGeek CultureTwo Weapons to Instantly Buff Your R Coding Power-Part 1Yes, that’s correct. R beginners can quickly upgrade their R programming capabilities by mastering two things: pipe operations (%>%) and…May 1, 2021May 1, 2021
Published inGeek CultureEmploying R to Serve Excel Spreadsheet: Pivot Table Generation, Multiple Worksheets Creation, and…R users still use Excel, particularly when working with people who solely rely on Excel. The task to share analytical results generated by…Apr 26, 2021Apr 26, 2021