xicuts: Specifying cut-points for the covariates

View source: R/xicuts.R

xicutsR 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.


nftbart documentation built on May 1, 2023, 1:08 a.m.

Related to xicuts in nftbart...