Predict class probabilities from a STAGE model
Arguments
- object
A
stage_fitobject as returned byfit_stage().- newdata
Numeric vector of new x values.
- group
Optional group for each new x (length 1 or
length(newdata)). IfNULLand there are multiple populations in the model, population 1 is used for all predictions.- type
"prob"for P(y = 1 | x),"class"for 0/1 classification.- ...
Currently ignored.
