[Rd] Unhidden predict methods
Prof Brian Ripley
ripley at stats.ox.ac.uk
Fri Mar 16 13:25:50 CET 2007
The reason some are not hidden is historical: they were called explicitly
by (contributed) package code at the time namespaces were introduced.
It would be a good idea to revisit some of those decisions, but it is not
a very appealing way to spend one's time.
On Fri, 16 Mar 2007, Henric Nilsson (Public) wrote:
> Hi,
>
> I've noted that not all `predict' methods are hidden in the namespace:
>
> > methods("predict")
> [1] predict.ar* predict.Arima*
> [3] predict.arima0* predict.glm
> [5] predict.HoltWinters* predict.lm
> [7] predict.loess* predict.mlm
> [9] predict.nls* predict.poly
> [11] predict.ppr* predict.prcomp*
> [13] predict.princomp* predict.smooth.spline*
> [15] predict.smooth.spline.fit* predict.StructTS*
>
> Non-visible functions are asterisked
>
> I'm sure there's a good reason for this, but I haven't been able to
> figure it out. Please enlighten me.
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-devel
mailing list