Description Usage Arguments Value Author(s) See Also
Prediction for test data using an object of class logicBagg
.
1 2 3 
object 
an object of class 
newData 
a matrix or data frame containing new data. If omitted

prob.case 
a numeric value between 0 and 1. A new observation will be
classified as case (or more exactly, as 1) if the class probability, i.e.\
the average of the predicted probabilities of the models (if the logistic
regression approach of logic regression has been used), or the percentage of
votes for class 1 (if the classification approach of logic regression has been used)
is larger than 
type 
character vector indicating the type of output. If 
score 
a character string naming the score that should be used to assess the performance of the prediction model in the survival case. By default, the distance between predicted outcomes ( 
... 
Ignored. 
A numeric vector containing the predicted classes (if type = "class"
) or the
class probabilities (if type = "prob"
) of the new observations if the classification
or the logistic regression approach of logic regression is used. If the response is quantitative,
the predicted value of the response for all observations in the test data set is returned. If the
response is of class Surv
, an object of class predict.survivalFS
with either an
prediction for the cumulative hazard function or the survival function of the new observations is returned.
Holger Schwender, holger.schwender@hhu.de, Tobias Tietz, tobias.tietz@hhu.de
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.