Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upwarning, predict.mboost() with offset #20
Comments
|
That sounds like a very reasonable change. Thanks Am 17.11.2015 um 15:39 schrieb sbrockhaus:
Dr. rer. nat. Benjamin Hofner Institut für Medizininformatik, Biometrie und Epidemiologie Tel: +49-9131-85-22707 Büro: http://www.imbe.med.uni-erlangen.de/cms/benjamin_hofner.html |
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