On Fri, Jul 17, 2009 at 10:37 PM, PDXRugger<[email protected]> 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 [email protected] http://lifeofknudsen.blogspot.com/ ______________________________________________ [email protected] 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.

