> On 03/02/2022 11:14 Martin Maechler wrote:
>
>
> > Ben Bolker
> > on Tue, 1 Feb 2022 21:21:46 -0500 writes:
>
> > The model.weights() and model.offset() functions from the 'stats'
> > package index possibly-missing elements of a data frame via $, e.g.
>
> > x$"(o
> Ben Bolker
> on Tue, 1 Feb 2022 21:21:46 -0500 writes:
> The model.weights() and model.offset() functions from the 'stats'
> package index possibly-missing elements of a data frame via $, e.g.
> x$"(offset)"
> x$"(weights)"
> This returns NULL without comment
The model.weights() and model.offset() functions from the 'stats'
package index possibly-missing elements of a data frame via $, e.g.
x$"(offset)"
x$"(weights)"
This returns NULL without comment when x is a data frame:
x <- data.frame(a=1)
x$"(offset)" ## NULL
x$"(weights)" ## NULL
Howeve