How to perform Gridsearch in R?

r
xgboost

#1

Can anyone help me with an example as to how to perform Gridsearch in R ?

i wanted to tune parameters in the xgboost model which i am using. So thought of using gridsearch for parameters selection.

Thanks ,
Rohit