Fran100681 <franar...@hotmail.it> wrote
>
>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
>

Is there something wrong with *-1 ?

Peter

Peter L. Flom, PhD
Statistical Consultant
Website: www DOT peterflomconsulting DOT com
Writing; http://www.associatedcontent.com/user/582880/peter_flom.html
Twitter:   @peterflom

______________________________________________
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