Displaying 9 results from an estimated 9 matches for "zacho".
Did you mean:
zach
2025 May 28
1
Looking for a function or a set of steps
Paul,
Perhaps slightly better and more concise is
y <- -x + 1
Why multiply? Of course it may be optimized in some cases.
On Tue, May 27, 2025, 3:36?AM Paul Zachos <paz at acase.org> wrote:
> 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 Eval...
2025 May 29
1
Looking for a function or a set of steps
...> On 28 May 2025, at 21:41, Avi Gross <avi.e.gross at gmail.com> wrote:
>
> ?Paul,
>
> Perhaps slightly better and more concise is
>
> y <- -x + 1
>
> Why multiply? Of course it may be optimized in some cases.
>
>> On Tue, May 27, 2025, 3:36?AM Paul Zachos <paz at acase.org> wrote:
>>
>> 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
>> _________________
>> Pa...
2025 May 19
3
Looking for a function or a set of steps
?s 18:40 de 18/05/2025, paul zachos via R-help escreveu:
> 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...
2025 May 18
4
Looking for a function or a set of steps
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 like to generate a new vector in which the ?1?s in x become ?0?s and the ?0?s in x become ?1?s.
How
2025 May 19
1
Looking for a function or a set of steps
On Sun, 18 May 2025 13:40:31 -0400
paul zachos via R-help <r-help at r-project.org> 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 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]...
2025 May 19
1
Looking for a function or a set of steps
...m escreveu:
> Surely doing
>
> y <- 1 - x
>
> would be the simplest way?
>
> Best,
> Tom
>
>> -----Original Message-----
>> From: R-help <r-help-bounces at r-project.org> On Behalf Of Rui Barradas
>> Sent: 19 May 2025 08:08
>> To: paul zachos <anthanasios at me.com>; r-help at r-project.org
>> Subject: Re: [R] Looking for a function or a set of steps
>>
>> ?s 18:40 de 18/05/2025, paul zachos via R-help escreveu:
>>> Dear R Community
>>>
>>> I am an R beginner
>>>
>>>...
2025 May 19
1
Looking for a function or a set of steps
...gt; y <- 1 - x
>>
>> would be the simplest way?
>>
>> Best,
>> Tom
>>
>>> -----Original Message-----
>>> From: R-help <r-help-bounces at r-project.org> On Behalf Of Rui Barradas
>>> Sent: 19 May 2025 08:08
>>> To: paul zachos <anthanasios at me.com>; r-help at r-project.org
>>> Subject: Re: [R] Looking for a function or a set of steps
>>>
>>> ?s 18:40 de 18/05/2025, paul zachos via R-help escreveu:
>>>> Dear R Community
>>>>
>>>> I am an R beginner
&g...
2025 May 19
1
Looking for a function or a set of steps
1-x
> On 18.05.2025, at 19:40, paul zachos via R-help <r-help at r-project.org> 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 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
>...
2025 May 19
1
Looking for a function or a set of steps
...es it is even simpler and assembled by an "AI" which implicitly did the equivalent of a guided internet search.
-----Original Message-----
From: R-help <r-help-bounces at r-project.org> On Behalf Of Rolf Turner
Sent: Monday, May 19, 2025 6:26 PM
To: r-help at r-project.org
Cc: paul zachos <anthanasios at me.com>
Subject: Re: [R] Looking for a function or a set of steps
On Sun, 18 May 2025 13:40:31 -0400
paul zachos via R-help <r-help at r-project.org> wrote:
> Dear R Community
>
> I am an R beginner
>
> I have a vector of ?1?s and ?0?s
>
> x
&...