R: Test the 'gbm' package.

test.gbm {gbm} | R Documentation

## Test the `gbm` package.

### Description

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

### Usage

    test.gbm()

### 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,

### Value

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

### Note

The test suite is not comprehensive.

### Author(s)

Harry Southworth

### See Also

`gbm`

### Examples

    # Uncomment the following lines to run - commented out to make CRAN happy
    #library(RUnit)
    #val <- validate.texmex()
    #printHTMLProtocol(val, "texmexReport.html")

[Package gbm version 2.1.8 Index]