Subject: [R] value transformations in a vector
>
> Dear contributors:
>
> I have vector A composed of numbers wich have values equal to
> 1 and different to 1.
> I want to transform de components with a value=1 to a
> component of value=0, and those with a value different to1,
> t
Dear contributors:
I have vector A composed of numbers wich have values equal to 1 and
different to 1.
I want to transform de components with a value=1 to a component of value=0,
and those with a value different to1, to a value=1.
Then I want to take out the components=0.
Thanks in advance,
Juan
2 matches
Mail list logo