>-Original Message-
>From: Duncan Murdoch [mailto:murdoch.dun...@gmail.com]
>Sent: Monday, 12 April, 2021 1:58
>To: Viechtbauer, Wolfgang (SP); R-help
>Subject: Re: [R] evil attributes
>
>On 11/04/2021 2:46 p.m., Viechtbauer, Wolfgang (SP) wrote:
>> The is.vector
Terry wrote
I confess to being puzzled WHY the R core has decided on this
definition [of vector] ...
I believe that "R core" followed S's definition of "vector". From the
beginning (at least when I first saw it in 1981) an S vector was the basic
unit of an S object - it had a type and a
On 11/04/2021 2:46 p.m., Viechtbauer, Wolfgang (SP) wrote:
The is.vector() thing has also bitten me in the behind on a few occasions. When
I want to check if something is a vector, allow for it to possibly have some
additional attributes (besides names) that would make is.vector() evaluate to
-help
Sent: Saturday, 10 April, 2021 16:12
To: R-help
Subject: Re: [R] evil attributes
I wrote: "I confess to being puzzled WHY the R core has decided on this
definition..."
After just a little more thought let me answer my own question.
a. The as.vector() function is designed to strip
On Behalf Of Therneau, Terry
>M., Ph.D. via R-help
>Sent: Saturday, 10 April, 2021 16:12
>To: R-help
>Subject: Re: [R] evil attributes
>
>I wrote: "I confess to being puzzled WHY the R core has decided on this
>definition..."
>After just a little more thought l
I wrote: "I confess to being puzzled WHY the R core has decided on this
definition..."
After just a little more thought let me answer my own question.
a. The as.vector() function is designed to strip off everything extraneous and
leave just
the core. (I have a mental image of Jack Webb saying
6 matches
Mail list logo