Skip to content

Commit 172b543

Browse files
committed
Document that offset should return nothing if no offset was used
1 parent 520162c commit 172b543

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/regressionmodel.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ function reconstruct! end
114114
offset(model::RegressionModel)
115115
116116
Return the offset used in the model, i.e. the term added to the linear predictor with
117-
known coefficient 1.
117+
known coefficient 1, or `nothing` if the model was not fit with an offset.
118118
"""
119119
function offset end
120120

0 commit comments

Comments
 (0)