gbm.bfcheck: Calculates minimum Bag Fraction size for gbm.auto

View source: R/gbm.bfcheck.R

gbm.bfcheckR Documentation

Calculates minimum Bag Fraction size for gbm.auto

Description

Provides minimum bag fractions for gbm.auto, preventing failure due to bf & samples rows limit. Simon Dedman, 2016, simondedman@gmail.com, GitHub.com/SimonDedman/gbm.auto

Usage

gbm.bfcheck(samples, resvar, ZI = "CHECK", grv = NULL)

Arguments

samples

Samples dataset, same as gbm.auto.

resvar

Response variable column in samples.

ZI

Are samples zero-inflated? TRUE/FALSE/"CHECK".

grv

Dummy param for package testing for CRAN, ignore.

Value

Prints minimum Bag Fraction size for gbm.auto.

Author(s)

Simon Dedman, simondedman@gmail.com

Examples

data(samples)
gbm.bfcheck(samples = samples, resvar = "Cuckoo")

SimonDedman/gbm.auto documentation built on Oct. 9, 2024, 8:57 p.m.