Closed ngreifer closed 5 years ago
Hmm, so it's failing in the calculation of the pseudo-R2.
Doing so involves fitting a null model (intercept-only), so doing something like this:
update(fit, formula = . ~ 1)
Which means the null model is getting fed a start
argument that is too long. I guess the main question is whether it is right to just keep the first element of start
, or drop any start
argument altogether, or something else when fitting the null model.
Eh just because it's so simple you could just avoid a start value since all it's doing is computing the mean, or you could compute the mean and hand it off as a start value. I wouldn't worry too much about it though. I ran into this because some models require start values.
Sorry to be giving you more to work on.
summ
gives a bad error when staring values are supplied toglm()
. This is required when usingglm
with some links. It seems to require start values of length 1, even when there are two parameters in the model.summary()
works fine, though. Setting only one start value (appropriately) yields an error inglm
.Created on 2019-05-31 by the reprex package (v0.3.0)