diff --git a/Project.toml b/Project.toml index ef2d2a29..517aeb9f 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "GLM" uuid = "38e38edf-8417-5370-95a0-9cbb8c7f171a" -version = "1.5.0" +version = "1.5.1" [deps] Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f" @@ -24,7 +24,7 @@ Reexport = "0.1, 0.2, 1.0" SpecialFunctions = "0.6, 0.7, 0.8, 0.9, 0.10, 1" StatsBase = "0.33.5" StatsFuns = "0.6, 0.7, 0.8, 0.9" -StatsModels = "0.6.22" +StatsModels = "0.6.23" julia = "1" [extras] diff --git a/src/linpred.jl b/src/linpred.jl index c498c7cf..7adecf94 100644 --- a/src/linpred.jl +++ b/src/linpred.jl @@ -233,7 +233,7 @@ response(obj::LinPredModel) = obj.rr.y fitted(m::LinPredModel) = m.rr.mu predict(mm::LinPredModel) = fitted(mm) -formula(obj::LinPredModel) = modelframe(obj).formula +StatsModels.formula(obj::LinPredModel) = modelframe(obj).formula residuals(obj::LinPredModel) = residuals(obj.rr) """