printNodes: Print specific nodes

Description Usage Arguments Value

Description

Print the text representation of node membership and optionally print target variable statistics if provided a dataset and target variable.

Usage

1
printNodes(x, nodes, newdata = NULL, y = NULL)

Arguments

x

a lumberYard object

nodes

a numeric vector of nodeIDs

newdata

a dataset for which predictions are to be returned. Should have the same columns and order as the dataset used to train the model.

y

an optional numeric vector indicating a subset of nodeIDs to predict

Value

prints text representation to the console. Redirect using sink.


Zelazny7/timbr documentation built on May 10, 2019, 1:57 a.m.