getnodes | R Documentation |
Get terminal node observation assignments
getnodes(tree, x)
tree |
model object output from contrast() or prune() |
x |
training input predictor data matrix or data frame in same format as in contrast() |
vector of tree terminal node identifiers (numbers) corresponding to each observation (row of x)
contrast()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.