deviance.tree

0th

Percentile

Extract Deviance from a Tree Object

Extract deviance from a tree object.

Keywords
tree
Usage
# S3 method for tree
deviance(object, detail = FALSE, …)
Arguments
object

an object of calls "tree"

detail

logical. If true, returns a vector of deviance contributions from each node.

arguments to be passed to or from other methods.

Value

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.

Aliases
  • deviance.tree
  • deviance.singlenode
Documentation reproduced from package tree, version 1.0-40, License: GPL-2 | GPL-3

Community examples

Looks like there are no examples yet.