PEP-methods
print.PEP: Print a PEP object to the console
predict.PEP: Predict for a novel patient from current PEP-ensemble
# S4 method for PEP
print(x, ...)# S4 method for PEP
predict(object, type = "response", newx, x.expand)
Generic x
Additional custom parameters passed on
PEP-ensemble model object
Type of prediction; either "response" or "ensemble"
New data matrix
A function that may expand (i.e. extract features) from the input data matrix. By default this will be the default x.expand saved in the S4-slot of the first ensemble member. If the user wishes to omit this functionality, setting this parameter to 'x.expand = as.matrix' does not expand the input data matrix. Notice that if the user has manually called the 'conforminput' function for the newx-data, it is no longer necessary to expand the data matrix here.