Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
The function
vip:::vi_model.lmis also used for glm type models, but always selects the"t value"column. The relevant line of code inside this function:When the
familyargument is not gaussian, the column name is "z value" instead of "t value", which causesvip:::vi_model.lmto break. Minimal example:Created on 2019-10-31 by the reprex package (v0.3.0)
The logic behind z/t value is in
stats::summary.glm. The easiest fix is to select by location instead: the z/t value is always in column 3.