[R] how to handle missing values . when importing data in R

2010-01-12 Thread karena
in context: http://n4.nabble.com/how-to-handle-missing-values-when-importing-data-in-R-tp1012298p1012298.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] how to handle missing values . when importing data in R

2010-01-12 Thread jim holtman
are denoted as ., I want to first read in the file, and then change the . into the number zero 0. how can I do that? thank you, karena -- View this message in context: http://n4.nabble.com/how-to-handle-missing-values-when-importing-data-in-R-tp1012298p1012298.html Sent from the R help mailing

Re: [R] how to handle missing values . when importing data in R

2010-01-12 Thread karena
this message in context: http://n4.nabble.com/how-to-handle-missing-values-when-importing-data-in-R-tp1012298p1012298.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [R] how to handle missing values . when importing data in

2010-01-12 Thread Ted Harding
On 12-Jan-10 17:46:47, karena wrote: hi, I have a question about importing data in R. I want to import a file which has missing value in it, and the missing values are denoted as ., I want to first read in the file, and then change the . into the number zero 0. how can I do that? thank

Re: [R] how to handle missing values . when importing data in R

2010-01-12 Thread jim holtman
this message in context: http://n4.nabble.com/how-to-handle-missing-values-when-importing-data-in-R-tp1012298p1012298.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch

Re: [R] how to handle missing values . when importing data in R

2010-01-12 Thread karena
thank you guys. All the columns of my data are numeric. I tried both methods, and they both work. I appreciate your help. -k -- View this message in context: http://n4.nabble.com/how-to-handle-missing-values-when-importing-data-in-R-tp1012298p1012397.html Sent from the R help mailing list