as.fmap.data.frame function

Generates an XGBoost feature map based on feature data.