Land cover modelling and prediction

Hi everyone,

I am new to R. I would like to use the gbm package and regression trees packages to model and predict land cover change (y) using predictor variables (x) such as distance to road, soil type, elevation, average rainfall and fire frequencies. Are there any basic R scripts and suggestions as to how I can successfully create this model and predict the land cover?

Thanks
Edward

This looks like a duplicate post. The other one has some responses so you should consider deleting this one.