Displaying 2 results from an estimated 2 matches for "lme4_tidiers".
2016 Jul 15
2
summary() dispatch puzzle
...df and p values
coef(lme4:::summary.merMod(fm1B)) ## table without df and p values
is(fm1B,"merMod") ## TRUE
library(broom)
tidy(fm1B)
## hard to show what's going on without debugging through the function:
## the issue occurs here:
## https://github.com/dgrtwo/broom/blob/master/R/lme4_tidiers.R#L94
I can't replicate this behaviour with a trivial method ...
silly <- function(x, ...) {
UseMethod("silly")
}
silly.merMod <- function(object, ...) {
coef(summary(object))
}
silly(fm1B)
environment(silly) <- environment(tidy)
silly(fm1B)
2016 Jul 18
0
summary() dispatch puzzle
...4 colorspace_1.2-6 stringi_1.1.1 acepack_1.3-3.3
[41] munsell_0.4.3 chron_2.3-47
>
> ## hard to show what's going on without debugging through the function:
> ## the issue occurs here:
> ## https://github.com/dgrtwo/broom/blob/master/R/lme4_tidiers.R#L94
> I can't replicate this behaviour with a trivial method ...
> silly <- function(x, ...) {
> UseMethod("silly")
> }
> silly.merMod <- function(object, ...) {
> coef(summary(object))
> }
> silly(fm1B)
> enviro...