You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is just a comment about a warning.
The warning occurs when predicting a model with newdata, where the model is specified with an offset AND length(offset) != 1, then one gets warning("Offset not used for prediction when ", sQuote("newdata"), " is specified")
(mboost.R, line 269)
I found the warning rather misleading, as only the combination of user-specified offset of length>1 and predict with newdata is a problem (and not the newdata in general) warning("User-specified offset in object is longer than 1, thus offset not used for prediction when ", sQuote("newdata"), " is specified")
Best
The text was updated successfully, but these errors were encountered:
This is just a comment about a warning.
The warning occurs when predicting a model with newdata, where the model
is specified with an offset AND |length(offset) != 1|, then one gets
|warning("Offset not used for prediction when ", sQuote("newdata"), " is
specified")|
(mboost.R, line 269)
I found the warning rather misleading, as only the combination of
user-specified offset of length>1 and predict with newdata is a problem
(and not the newdata in general)
|warning("User-specified offset in object is longer than 1, thus offset
not used for prediction when ", sQuote("newdata"), " is specified")|
Best
—
Reply to this email directly or view it on GitHub #20.
Dr. rer. nat. Benjamin Hofner
Institut für Medizininformatik, Biometrie und Epidemiologie
Friedrich-Alexander-Universität Erlangen-Nürnberg
Waldstr. 6 - 91054 Erlangen - Germany
Tel: +49-9131-85-22707
Fax: +49-9131-85-25740
Büro:
Raum 3.036
Universitätsstraße 22
(Eingang linke Seite des Gebäudes; Wegweiser IMBE)
This is just a comment about a warning.
The warning occurs when predicting a model with newdata, where the model is specified with an offset AND
length(offset) != 1
, then one getswarning("Offset not used for prediction when ", sQuote("newdata"), " is specified")
(mboost.R, line 269)
I found the warning rather misleading, as only the combination of user-specified offset of length>1 and predict with newdata is a problem (and not the newdata in general)
warning("User-specified offset in object is longer than 1, thus offset not used for prediction when ", sQuote("newdata"), " is specified")
Best
The text was updated successfully, but these errors were encountered: