[R] Subtracting one based on an If

Ista Zahn istazahn at gmail.com
Fri Feb 19 01:57:24 CET 2010


I think you can just use

CondoLots[CondoLots > 1] <- CondoLots[CondoLots > 1] -1

-Ista



More information about the R-help mailing list