:r-devel-boun...@r-project.org] On Behalf Of Ben >
Bolker > Sent: 13 December 2018 20:36 > To:
r-devel@r-project.org > Subject: Re: [Rd] Documentation
examples for lm and glm
Agree. Or just create the data frame with those
variables in it > directly ...
On 2018-12-13 3:26 p.m.,
variables lurking about,
>>>>> but if those are the only variables out there and we can
>>>>> be sure they aren't affected by other code, it's hardly
>>>>> essential to create a data frame to hold something you
>>>>> already have.
en >
Bolker > Sent: 13 December 2018 20:36 > To:
r-devel@r-project.org > Subject: Re: [Rd] Documentation
examples for lm and glm
Agree. Or just create the data frame with those
variables in it > directly ...
On 2018-12-13 3:26 p.m., Thomas Yee wrote: > > Hello,
something t
Dear Steve,
Since this relates as well to the message I posted a couple of minutes before
yours, I agree that it’s possible to phrase “best practices” too categorically.
In the current case, I believe that it’s reasonable to say that specifying the
data argument is “generally” or “usually” the
> From: Thomas Yee [mailto:t@auckland.ac.nz]
>
> Thanks for the discussion. I do feel quite strongly that
> the variables should always be a part of a data frame.
This seems pretty much a decision for R core, and I think it's useful to have
raised the issue.
But I, er, feel strongly that
without
>>> using with() a lot. lm() can reasonably omit the data
>>> argument there, too.
>>>
>>> So while there are good reasons to use data frames, there
>>> are also good reasons to provide examples that don't.
>>>
>>> Steve
) can reasonably omit the data
>> argument there, too.
>>
>> So while there are good reasons to use data frames, there
>> are also good reasons to provide examples that don't.
>>
>> Steve Ellison
>>
>>
>&
without using with() a lot. lm() can reasonably omit the data
argument
there, too.
So while there are good reasons to use data frames, there are also
good
reasons to provide examples that don't.
Steve Ellison
-Original Message-
From: R-devel [mailto:r-devel-boun...@r-project.org] On
evel [mailto:r-devel-boun...@r-project.org] On Behalf Of Ben
Bolker
Sent: 13 December 2018 20:36
To: r-devel@r-project.org
Subject: Re: [Rd] Documentation examples for lm and glm
Agree. Or just create the data frame with those variables in it
directly ...
On 2018-12-13 3:26 p.m., Thomas Yee
. lm() can reasonably omit the data argument
there, too.
So while there are good reasons to use data frames, there are also good
reasons to provide examples that don't.
Steve Ellison
-Original Message-
From: R-devel [mailto:r-devel-boun...@r-project.org] On Behalf Of Ben
Bolker
Sent:
l Message-
From: R-devel [mailto:r-devel-boun...@r-project.org] On Behalf Of Ben
Bolker
Sent: 13 December 2018 20:36
To: r-devel@r-project.org
Subject: Re: [Rd] Documentation examples for lm and glm
Agree. Or just create the data frame with those variables in it
directly ...
On 2018-12
good
> reasons to provide examples that don't.
>
> Steve Ellison
>
>
> > -Original Message-
> > From: R-devel [mailto:r-devel-boun...@r-project.org] On Behalf Of Ben
> > Bolker
> > Sent: 13 December 2018 20:36
> > To: r-devel@r-project.org
> &g
on't.
Steve Ellison
> -Original Message-
> From: R-devel [mailto:r-devel-boun...@r-project.org] On Behalf Of Ben
> Bolker
> Sent: 13 December 2018 20:36
> To: r-devel@r-project.org
> Subject: Re: [Rd] Documentation examples for lm and glm
>
>
> Agree. Or j
Agree. Or just create the data frame with those variables in it
directly ...
On 2018-12-13 3:26 p.m., Thomas Yee wrote:
> Hello,
>
> something that has been on my mind for a decade or two has
> been the examples for lm() and glm(). They encourage poor style
> because of mismanagement of data
14 matches
Mail list logo