Rdocumentation
powered by
Learn R Programming
tree (version 1.0-2)
deviance.tree: Extract Deviance from a Tree Object
Description
Extract deviance from a tree object.
Usage
deviance.tree(object, detail = FALSE)
Arguments
object
an object of calls
"tree"
detail
logical. If true, returns a vector of deviance contributions from each node.
Value
The overall deviance, or a vector of contributions from each the cases at each node. The overall deviance is the sum over leaves in the latter case.