deviance.tree | R Documentation |
Extract deviance from a tree object.
## S3 method for class 'tree' deviance(object, detail = FALSE, ...)
object |
an object of calls |
detail |
logical. If true, returns a vector of deviance contributions from each node. |
... |
arguments to be passed to or from other methods. |
The overall deviance, or a vector of contributions from the cases at each node. The overall deviance is the sum over leaves in the latter case.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.