Hi R users,
I try to read a data file (tab delimited format) in which some of the
entries in a particular field are missing. Is it possible to fill the
unavailable data with 'UnAvailable' string while performing read.table()
Something like
df = read.table(DataFile, header=FALSE,
Hi R users,
I try to read a data file (tab delimited format) in which some of the
entries in a particular field are missing. Is it possible to fill the
unavailable data with 'UnAvailable' string while performing read.table()
Something like
df = read.table(DataFile, header=FALSE,
I am very sorry for multiple mails.
Hi R users,
I try to read a data file (tab delimited format) in which some of the
entries in a particular field are missing. Is it possible to fill the
unavailable data with 'UnAvailable' string while performing read.table()
Something like
df =
It's going to depend on how the data missing-ness is represented in the table.
If you have a csv like
1,2,3
1,,3
4,5,6
You automatically get an NA after using read.csv() -- this can be
omitted with the na.omit() command if desired.
If missingness is somehow encoded other than an empty spot, it
4 matches
Mail list logo