MartinqiuinCodeXEasy 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…5 min read·Oct 5, 2021--1--1
MartinqiuA 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:4 min read·Sep 18, 2021----
MartinqiuA 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…5 min read·Sep 17, 2021----
MartinqiuCreate 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…3 min read·Jul 20, 2021----
MartinqiuinGeek 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…7 min read·May 21, 2021--2--2
MartinqiuinCodeXJuggling 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…9 min read·May 18, 2021----
MartinqiuinCodeXA 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…4 min read·May 15, 2021----
MartinqiuFunctional 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…6 min read·May 2, 2021----
MartinqiuinGeek 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…6 min read·May 1, 2021----
MartinqiuinGeek 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…5 min read·Apr 26, 2021----