deviance.TWIX {TWIX} | R Documentation |
Returns the deviance of a fitted model object.
## S3 method for class 'TWIX': deviance(object,type="training", ...)
object |
an object of class TWIX or bootTWIX for which the deviance is desired. |
type |
a deviance from test, training or from both data. |
... |
additional arguments. |
The value of the deviance extracted from the object object
.
data(olives) Tree <- TWIX(Region~.,data=olives,topN=c(5,3),method="local") deviance(Tree)