# Residuals From a Fitted Rpart Object

### Description

Method for `residuals`

for an `rpart`

object.

### Usage

1 2 |

### Arguments

`object` |
fitted model object of class |

`type` |
Indicates the type of residual desired. For regression or For classification trees the For |

`...` |
further arguments passed to or from other methods. |

### Value

Vector of residuals of type `type`

from a fitted `rpart`

object.

### References

McCullagh P. and Nelder, J. A. (1989)
*Generalized Linear Models*.
London: Chapman and Hall.

### Examples

1 2 3 4 |