[R] vector and NA

Sandor Benczik sandor.benczik at crabel.ro
Tue Jun 23 12:59:50 CEST 2009




alfreale wrote:
> 
> 
> I've a vector like this:
> 
>> inc[,5]
> 
> How can I extract a vector without the NA value?
> 
> 

inc[,5][!is.na(inc[,5])]

-- 
View this message in context: http://www.nabble.com/vector-and-NA-tp24162879p24163839.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list