Generalized Regression Analysis and Spatial Prediction for R