predict.logicBagg {logicFS} | R Documentation |
Prediction of test data Using an object of class logicBagg
.
## S3 method for class 'logicBagg': predict(object, newData, prob.case = 0.5, ...)
object |
an object of class logicBagg . |
newData |
a matrix containing new data. If omitted
object\$data , i.e. the original training data, are used.
Each row of newData must correspond
to a new observation. newData must have the same number
of columns as object\$data , and the order of the variables
must be same in both matrices. Warning: Currently, there will be
no checking if the latter is TRUE . |
prob.case |
a numeric value between 0 and 1. If the outcome of the
logistic regression, i.e. the predicted probability, for an observation is
larger than prob.case this observations will be classified as case
(or 1). |
... |
Ignored. |
A numeric vector containing the predicted classes of the new observations.
Holger Schwender, holger.schwender@udo.edu