Mary Kindall
2011-Nov-16 21:23 UTC
[R] read.table : fill missing entry with "unAvailable" [edit]
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, fill_missing_entry = 'unAvailable') 1 thanks -- ------------- Mary Kindall Yorktown Heights, NY USA [[alternative HTML version deleted]]
Mary Kindall
2011-Nov-16 21:26 UTC
[R] read.table : fill missing entry with "unAvailable" [edit]
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 = read.table(DataFile, header=FALSE, fill_missing_entry = 'unAvailable') Or remove the the complete row in which the missing entry appear. thanks -- ------------- Mary Kindall Yorktown Heights, NY USA -- ------------- Mary Kindall Yorktown Heights, NY USA [[alternative HTML version deleted]]