Re: [Rd] Namespace/method oddity

2008-02-12 Thread Prof Brian Ripley
On Tue, 12 Feb 2008, Peter Dalgaard wrote: > I stumbled on the following: > >> library(stats4) >> example(mle) >> confint.default(fit2) > Error in UseMethod("vcov") : no applicable method for "vcov" > In addition: Warning message: > In object$coefficients : > $ operator not defined for this S4 cl

[Rd] Namespace/method oddity

2008-02-12 Thread Peter Dalgaard
I stumbled on the following: > library(stats4) > example(mle) > confint.default(fit2) Error in UseMethod("vcov") : no applicable method for "vcov" In addition: Warning message: In object$coefficients : $ operator not defined for this S4 class, returning NULL > vcov(fit2) lymax