Blog

How to Count the Number of NA in R

This tutorial will go through counting the number of missing values or NAs in a data frame in R. Table of contentsExampleGet Airquality DataSolution #1: Use summarySolution #2: Use sum and is.naSolution #3: Use sum and is.na in FunctionSummary Example Let's look at an...

read more

How to Calculate Hamming Distance in R

In R, Hamming distance is a type of distance metric for finding how similar two vectors are. If the vectors are equal in length, Hamming distance determines the number of bit positions different between them. We can also describe Hamming distance as the minimum number...

read more
Profile Picture
Senior Advisor, Data Science | [email protected] | + posts

Suf is a senior advisor in data science with deep expertise in Natural Language Processing, Complex Networks, and Anomaly Detection. Formerly a postdoctoral research fellow, he applied advanced physics techniques to tackle real-world, data-heavy industry challenges. Before that, he was a particle physicist at the ATLAS Experiment of the Large Hadron Collider. Now, he’s focused on bringing more fun and curiosity to the world of science and research online.