Skip to content

Commit

Permalink
use StatsModels.formula (#440)
Browse files Browse the repository at this point in the history
  • Loading branch information
palday authored Jun 30, 2021
1 parent 10f4f56 commit 96f6eeb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion src/linpred.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)

"""
Expand Down

2 comments on commit 96f6eeb

@palday
Copy link
Member Author

@palday palday commented on 96f6eeb Jun 30, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/39912

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v1.5.1 -m "<description of version>" 96f6eeba0f93c1271982e75575e303b354a2b412
git push origin v1.5.1

Please sign in to comment.