How I can get from xgboost model (xgboost package) f-measure score?

r
xgboost

#1

Hello! I made some models in R with xgboost packages, and then I can’t get F-measure, recall and precision. Can you help me?