[R] Invert the sign of a number

Fran100681 franaruto at hotmail.it
Thu Oct 29 11:06:45 CET 2009


Hello,

just a simple question

How can I do to invert the sign of a number? (for example: -4 to 4, 2 to -2
and so on..)
I was looking for a specific function in R but I didn't found it...
thank you

Francesco
-- 
View this message in context: http://www.nabble.com/Invert-the-sign-of-a-number-tp26110267p26110267.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list