[R] missing data

From: wilquin Minaya <khajqui01_at_hotmail.com>
Date: Mon, 09 Jun 2008 17:14:55 -0400

 

  hi  

  I would like to know how I can complete those missing data from these programs:  

program number one   

DATOS2 <- sin(seq(1,20,0.1))
> DATOS2[103] <- NA
> DATOS2[65] <- NA
> DATOS2[134] <- NA
   

  this is the other one  

> data(pressure)
> DATOS3 <- pressure
> DATOS3[4,1] <- NA
> DATOS3[14,1:2] <- c(NA,NA)
> DATOS3[17,2] <- NA
 

                             
                        
 
_________________________________________________________________


	[[alternative HTML version deleted]]

______________________________________________
R-help_at_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. Received on Mon 09 Jun 2008 - 22:30:12 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 09 Jun 2008 - 22:30:41 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive