Re: [R] Looking for a function or a set of steps

2025-05-27 Thread Paul Zachos
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

Re: [R] Looking for a function or a set of steps

2025-05-26 Thread paul zachos via R-help
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

[R] Looking for a function or a set of steps

2025-05-18 Thread paul zachos via R-help
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