
Hi,

I would like to know if there is any algorithm in R for transforming Binary data sets. I want something like taking all the zeros and giving them some negative value, for example -5, and taking all ones and giving them some positive value, if it had been given -5 for zeros it would be 5 for all ones.

Thank you for your time,

Pedro Marques

