Hi
everyone,

I have
a dataset which I am handling  with
R . Unfortunately I have two kinds of empty cells, one corresponds to missing
values and the other one is empty because it has to.

I ‘m going
to put an example (just a part of my dataset ) to try to clarify my question:

missing
values are represented withNAs


Enterprise         
Data of Stablishment   Earnings
2005          earning
2006         earnings 2007 earning 2008

Enterprise
1       
05/06/2007                 
It has to be empty      It has to be
empty       
2,3                  
NA

Enterprise
2       
09/08/2005                 
2.3                               
3,6                             
NA                      
1.6

 

My intention is to find this missing values using imputation (library VIM) . 
How could
I differenciate this NA with Cells that have to be empty?? I have tried putting 
Na for missing values and Nan for the others but it doesn't work because R 
imputes everythitng.
Could you answer me
to this e-mail

Thanks in
advance

                                          
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to