I have a data set which has null values in between, I wish to know on a general note, I want to treat these null values as a common character value without assigning or hard coding any value in the data, such that the null too is considered a variable. E.g: Say there are two vectors:
a1 <- c("a1","a2","","a3")
a2 <- c("b1","b2","b3","b4")
a12 <- data.frame(a1,a2)
Basically, I have a much larger data, considering all blank values as "na" without assigning any value to the blank fields.