Learn R Programming

rpms (version 0.5.1)

box_ind: box_ind

Description

For each row of data, returns a vector indicators whether observation is in that box or not

Usage

box_ind(x, newdata)

Arguments

x

rpms object

newdata

dataframe containing the variables used for the recursive partitioning.

Value

Matrix where each row is a vector of indicators whether observation is in box or not.