[Rd] Function I mean not to export keeps being documented in a manual?

2018-12-16 Thread Marta Karaƛ
I am developing an R package which has a function I decided not to export. I believe the roxygen information states that the function is not going to be exported, yet I still see the function in the manual PDF (as generated in command line via `CMD Rd2pdf package_dir`). What is wrong with my preamb

Re: [Rd] Documentation examples for lm and glm

2018-12-16 Thread Thomas Yee
Thanks for the discussion. I do feel quite strongly that the variables should always be a part of a data frame. Then functions such as summary() and pairs() can operate on them all simultaneously regression is only one part of the analysis. And what if there are lots of variables? Have them al

Re: [Rd] Documentation examples for lm and glm

2018-12-16 Thread Achim Zeileis
On Sat, 15 Dec 2018, frede...@ofb.net wrote: I agree with Steve and Achim that we should keep some examples with no data frame. That's Objectively Simpler, whether or not it leads to clutter in the wrong hands. As Steve points out, we have attach() which is an excellent language feature - not to