-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support for cplm #116
Comments
Thanks for the suggestion. I have not looked yet at this package but will see what appears to be possible. I really have the hope that package developers can incorporate emmeans support in their own packages, as they are the ones familiar with the features offered and what is needed to incorporate predictions with new data - which is essentially what needs to be coded. Have you contacted the developer/maintainer of cplm? Also, it might be worth looking at the |
thanks, it worked with
I also tried implementing a
but
However, this works:
and is the same output as from a |
Hmmm, well this is a mystery to me. I did a trace of calling
So I am getting a mixed message: that there is a recover_data.cpglm = function(object, ...) {
fcall = object$call
trms = delete.response(attr(object@model.frame, "terms"))
recover_data(fcall, trms, object$na.action, ...)
} This part does work: > head(recover_data(m))
cyl disp hp
Mazda RX4 6 160 110
Mazda RX4 Wag 6 160 110
Datsun 710 4 108 93
Hornet 4 Drive 6 258 110
Hornet Sportabout 8 360 175
Valiant 6 225 105 That's a start; maybe an |
Thanks, I‘ll play around with it some more, but I’m happy with the qdrg solution so far. |
I think I'll close this now. Maybe you can encourage the developer of cplm to include emmeans support. |
Oops, I referred to this issue when I meant #216. Sorry for any confusion |
Hi,
I would appreciate support for the
cplm
package to compute compound-poisson linear models using thecpglm
function.I tried writing a method but it doesn't seem to be trivial.
thanks
The text was updated successfully, but these errors were encountered: