xgbm_ff: xgb.DMatrix from dataframe and formula

View source: R/util.R

xgbm_ffR Documentation

xgb.DMatrix from dataframe and formula

Description

xgm_ff creates a xgb::xgb.DMatrix from a data.frame and formula

Usage

xgbm_ff(dat, f, labelled = TRUE)

Arguments

dat

a data.frame

f

a formula. It must have a response term.

labelled

whether the data.frame contains the


rijpma/capelinker documentation built on Nov. 7, 2024, 3:06 a.m.