Learn R Programming

gbm (version 2.1.4)

test.gbm: Test the gbm package.

Description

Run tests on gbm functions to perform logical checks and reproducibility.

Usage

test.gbm()

Arguments

Value

An object of class RUnitTestData. See the help for RUnit for details.

Details

The function uses functionality in the RUnit package. A fairly small validation suite is executed that checks to see that relative influence identifies sensible variables from simulated data, and that predictions from GBMs with Gaussian, Cox or binomial distributions are sensible,

See Also

gbm

Examples

Run this code
# NOT RUN {
# Uncomment the following lines to run - commented out to make CRAN happy
#library(RUnit)
#val <- validate.texmex()
#printHTMLProtocol(val, "texmexReport.html")
# }

Run the code above in your browser using DataLab