PEP-methods {ePCR} | R Documentation |
PEP-methods
Description
PEP-methods
print.PEP: Print a PEP object to the console
predict.PEP: Predict for a novel patient from current PEP-ensemble
Usage
## S4 method for signature 'PEP'
print(x, ...)
## S4 method for signature 'PEP'
predict(object, type = "response", newx, x.expand)
Arguments
x |
Generic x |
... |
Additional custom parameters passed on |
object |
PEP-ensemble model object |
type |
Type of prediction; either "response" or "ensemble" |
newx |
New data matrix |
x.expand |
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. |
[Package ePCR version 0.11.0 Index]