Error in rep(NA_real_, nrow(data)) : invalid 'times' argument
In addition: Warning messages:
1: In marginal_effects.merMod(model = model, data = data, type = type, :
factor variables are not handled as factor for models of class 'merMod'
2: In dydx.default(X[[i]], ...) :
Class of variable, factor(Days), is unrecognized. Returning NA.
I'm not sure what sort of shape the lme4 support is supposed to be in, but I've hit a bug which I thought I'd share... apologies if this is premature.
produces: this error:
Poking around a little:
produces: