Thank you, I was hoping that was not the case but your explanation of
the search order from within a package makes sense.
Happy holidays,
Mark
On Tue, 24 Dec 2024 at 04:29, Duncan Murdoch wrote:
>
> I think the only way to do this is to write your own summary.* method
> for your objects. You sh
I think the only way to do this is to write your own summary.* method
for your objects. You should modify their class (e.g. to `c("glm2",
"glm")` so that your new summary method `summary.glm2` is called instead
of `summary.glm`.
Changing the search path wouldn't work. Search order from withi
Hi,
I am trying to implement a new method for glm2 which allows the use of
the Matrix package to work with large data.
I have added Matrix to Suggests, and when the new method is requested,
the following check is performed:
if (!requireNamespace("Matrix", quietly = TRUE)) {
stop("Package \