On Fri, Jul 17, 2009 at 10:37 PM, PDXRugger<j_r...@hotmail.com> wrote:

> So i need to replace the the #NULL! with 0.  I have tried:
>
> Props_pct_vacant<-Props_pct_vacant[Props_$pct_vacant !="#NULL!"]

Try this instead:

Props_$pct_vacant[which(Props_$pct_vacant=="#NULL!")] = 0

-- 
Michael Knudsen
micknud...@gmail.com
http://lifeofknudsen.blogspot.com/

______________________________________________
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