[Rd] plot functions, formula interfaces and NAs

2004-05-03 Thread Prof Brian Ripley
As we have seen from PR#6846, we don't document much what happens to NAs in plot functions. The formula interfaces do seem to be a bit of a mess, as they call model.frame and so some (but only some) of them pick up the options() setting of na.action. This means that for example pairs(~ x +y +

Re: [Rd] plot functions, formula interfaces and NAs

2004-05-03 Thread Thomas Lumley
On Mon, 3 May 2004, Prof Brian Ripley wrote: I believe no function should be using getOption(na.action) without a means to override it, and thus the formula methods of boxplot, mosaicplot and pairs should get an na.action argument. Further, since in all cases the non-formula methods do