Wow! Amazing stuff.
It will take me a while to digest all that you have offered here.
I came up with a simple solution myself:
y<- (-1*x)+1
Thank you
_____
Paul Zachos, PhD
Director, Research and Evaluation
Association for the Cooperative Advancement of Science and Education (AC
t; 1-x
>
>> On 18.05.2025, at 19:40, paul zachos via R-help wrote:
>>
>> Dear R Community
>>
>> I am an R beginner
>>
>> I have a vector of ‘1’s and ‘0’s
>>
>> x
>> [1] 0 0 1 0 0 1 1 0 1 0 1 1 1 0 1 1 0 0 1 0 1 0 1 0 0 0 0
>> [28] 0
Dear R Community
I am an R beginner
I have a vector of ‘1’s and ‘0’s
x
[1] 0 0 1 0 0 1 1 0 1 0 1 1 1 0 1 1 0 0 1 0 1 0 1 0 0 0 0
[28] 0 1 1 0 1 0 1 1 0 0 0 0 1 0 1 1 0 0 1 0 0 1 0 0 0 1 1
[55] 0 0 1 0 1 0 0 0 1 1 1 1 0 1 0 0 0 1 0 0 1 1 0 0 0 0 0
[82] 1 1 1 0 1 0 0 1 0 0 1 1 1 1 1
I would lik
3 matches
Mail list logo