as.fmap function

Dispatches execution to the most appropriate XGBoost feature map generation function.