Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kleinschmidt committed Mar 14, 2023
1 parent e22718a commit 3494ea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/linpred.jl
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ fitted(m::LinPredModel) = m.rr.mu
predict(mm::LinPredModel) = fitted(mm)
residuals(obj::LinPredModel) = residuals(obj.rr)

function StatsModel.formula(obj::LinPredModel)
function StatsModels.formula(obj::LinPredModel)
obj.formula === nothing && throw(ArgumentError("model was fitted without a formula"))
return obj.formula
end
Expand Down

0 comments on commit 3494ea9

Please sign in to comment.