[R] Reading csv file with missing value
Steven Yen
syen04 at gmail.com
Fri Jun 24 22:55:49 CEST 2016
I read a csv file (with read.csv) containing missing values (as shown
below). Is there a convenient way to set these NA into zeros?
Better yet, is there an option to assign zeros to these blank cells in
reading the csv file? Thank you!
NA -1 NA NA NA 1 NA
NA NA NA NA NA NA NA
NA NA NA NA NA NA NA
NA -1 NA NA NA NA NA
[[alternative HTML version deleted]]
More information about the R-help
mailing list