Check out example codes for "r number of blanks in the data". It will help you in understanding the concepts better.
Code Example 1
sum(df=="") # Sum of empy cell of myvar which(df$myvar=="", arr.ind=TRUE) # Specify which are empty
Learn ReactJs, React Native from akashmittal.com