[R] using phia with glmmTMB

Bert Gunter bgunter.4567 at gmail.com
Fri Sep 15 00:45:38 CEST 2017


Dunno ...

But you might do better posting this on the r-sig-mixed-models list where
it both should fit better and where you are more likely to find the
relevant expertise.

Cheers,
Bert



Bert Gunter

"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )

On Thu, Sep 14, 2017 at 2:26 PM, Joseph Ciarrochi <ciarrochij at gmail.com>
wrote:

> Hi folks,
>
> I love the Phia package andwant to use it with glmmTMB, but when i try to
> use the interactionMeans command, i get the below error
>
> modelrepeatedmain2 <- glmmTMB(counts ~
>  cluster*nominated*nominator*junior_senior+Ltime+
>                               (1|school)+(1|id),
>                              data=d_shortf,
>                            family=nbinom1)
>
> interactionMeans(modelrepeatedmain2)
>
> Error in array(x, c(length(x), 1L), if (!is.null(names(x))) list(names(x),
>  :
>   'data' must be of a vector type, was 'NULL'
>
>
> I can get this to work with GLMER of course, but I love the speed of
> glmmTMB.
>
> Is there any way to get interactionMeans to work with glmmTMB?
>
> best
> Joseph
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/
> posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

	[[alternative HTML version deleted]]



More information about the R-help mailing list