Description Usage Arguments Value Author(s)

Given a model and a new data set, this function will return the residuals of the predicted values. When dealing with a Cox proportional hazards regression model, the function will return the Martingale residuals.

1 2 3 4 | ```
residualForFRESA(object,
testData,
Outcome,
eta = 0.05)
``` |

`object` |
An object of class |

`testData` |
A data frame where all variables are stored in different columns, with the data set to be predicted |

`Outcome` |
The name of the column in |

`eta` |
The weight of the contribution of the Martingale residuals, or 1 - the weight of the contribution of the classification residuals (only needed if |

A vector with the residuals (i.e. the differences between the predicted and the real outcome)

Jose G. Tamez-Pena and Antonio Martinez-Torteya

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.