predictFtree: Predict function for ftree

Usage Arguments Details Author(s)

View source: R/main.R

Usage

1
predictFtree(ftreeObj = NULL, .Xnew = NULL)

Arguments

ftreeObj

- An object of class ftree as produced by the ftree function

.Xnew

- A data frame with a new set of covariates for which to make a prediction(s).

Details

The code returns a list of length nrow(.Xnew). Each element of the list is a matrix whose number of rows equals the number of the original argument values (discretizations) of the functions contained in ftreeObj, while the number of columns is equal to the number of trees contained in the ftreeObj (i.e. it's a vector for the 'single' mode ). This function does not work with trees of type "wss".

Author(s)

Ogy Grujic ognjengr@gmail.com


ogru/fTree documentation built on May 29, 2019, 7:19 a.m.