Re: [Rd] Documentation examples for lm and glm

2018-12-13 Thread Ben Bolker
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

[Rd] Documentation examples for lm and glm

2018-12-13 Thread Thomas Yee
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 frames. Also, having the variables in a data frame means that predict() is more likely to work properly. For lm(), the variables shou

Re: [Rd] trivial typo in src/library/base/man/LongVectors.Rd

2018-12-13 Thread Martin Maechler
> Ben Bolker > on Wed, 12 Dec 2018 14:45:10 -0500 writes: > Line 23: > "In theory up they can to" > should be > "In theory they can be up to" > or (slightly more formally) > "In theory they can contain up to" > cheers > Ben Bolker Thank you, Ben!