ggInteract_list: ggInteract_list

Description Usage Arguments Value

Description

Function to return the interactions size for a given boosted regression trees obtained with the gbm.step routine in the dismo package.

Usage

1
ggInteract_list(gbm.object, index = T, global.env = F)

Arguments

gbm.object

a gbm.step object (object of S3 class gbm)

index

Logical. If TRUE (default) returns the interactions table with the index of each predictors in addition to their names

global.env

Logical. If TRUE (default FALSE) exports the result into the R global environment as an object called Interact_list. Be aware of the critics of exporting to the global environment

Value

Returns a dataframe with the interaction sizes ranked from largest to smallest


JBjouffray/ggBRT documentation built on Jan. 30, 2021, 8:13 a.m.