Although I found solutions on this question, in my case, code returns only NAs. What\'s wrong? Working example below:
NA
df <- data.frame("d