I need answers on this topic. I have several files in a folder which I have imported to R using:
temp = list.files(pattern="*.txt")
myfiles = lapply(temp, read.delim)
The resulting files are on the workspace stored as List[110]
. So they are 110 files in the list. Each files has several different columns and rows.
My question: I would like to find and replace -999.99M with NA
; Find 'T','C','A','F' and 'Y', delete them from all the 110 files.