: unexpected 'else' in " else"
I appreciate this thread on coding. My preference for reading is to have
complete sentences.
I can read this:
{ if (x On Behalf Of Jorgen Harmse via
R-help
Sent: Friday, October 28, 2022 10:39 AM
To: r-help@r-project.org
Subject: Re: [R] unexpected 'else' in " e
want to see what
> will happen
> z <- ifelse(test, 1:3, 7:9)
> attr(z,'class')
[1] "foo"
> attr(z,'mode')
NULL
> attr(z,'length')
NULL
From: Bert Gunter
Date: Monday, 24October, 2022 at 12:07
To: Jorgen Harmse
Cc: r-help@r-project.org
Subject: [EXTERNAL] Re:
2022 at 11:31
To: Jorgen Harmse
Cc: r-help@r-project.org
Subject: [EXTERNAL] Re: [R] unexpected 'else' in " else" (Ebert,Timothy Aaron)
...
So it would appear that the ifelse() documentation needs to be
clarified. For example, if the above asterisked phrase were "The S3
*c
To: Jorgen Harmse
Cc: r-help@r-project.org
Subject: [EXTERNAL] Re: [R] unexpected 'else' in " else"
The code working inside stats::weighted.residuals has nothing to do
with being evaluated in a different environment than globalenv() and
has nothing to do with being inside a packa
4 matches
Mail list logo