I am having the following code, but somehow I am not able to execute the code:
asd <- c()
asd1 <- c()
if(asd == asd1)
{
pr <- 0
} else{
pr <- 1
}
Error in if (asd == asd1) { : argument is of length zero
I just wanted to know that can we not implement the null values here?