I need to select some of the columns with grep.
grep(pattern=paste0(ABC,"\\d"), x=names(baza), value = FALSE)
The thing is, it works when I have got columns named like DES1, DES2 up to DES10, then it will take all of them.
How to modify this grep that for example it will select DES4 to DES8 ?
Thank you for all the help.