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 upextractProb Incorrect dimensions when X Has One Column #849
Comments
|
Yep! That bug has been around for _more+ than > difftime(now(), ymd_hm("2007-10-05 12:21"), units = "weeks")
Time difference of 542.9203 weeks |
When using the
extractProbfunction on a model that was trained with only one column inX, the following error is thrown:The problem seems to be caused by this line when the
data.frameis turned into avector.Minimum reproducible example:
I would suggest adding the argument
drop = FALSElike theextractPredictionfunction has in this line