xicuts {nftbart}R Documentation

Specifying cut-points for the covariates

Description

This function allows you to create a list that specifies the cut-points for the covariates.

Usage

xicuts(x.train, transposed=FALSE, numcut=100)

Arguments

x.train

The training matrix to derive cut-points from.

transposed

Whether or not the matrix has been tranposed yet.

numcut

The number of cut-points to create.

Details

The cut-points are generated uniformly from min. to max., i.e., the distribution of the data is ignored.

Value

An object is returned of type BARTcutinfo which is essentially a list.


[Package nftbart version 2.1 Index]