[R-sig-Geo] Error in image classification (raster stack) with random forest (ranger) and GLM (glmnet)

2017-09-26 Thread Hugo Costa
Dear list I'm fitting some models to classify a raster image. The prediction function produces an error for RF (package ranger) and a GLM (package glmnet). The error given by RF is: Error in v[cells, ] <- predv : incorrect number of subscripts on matrix (see reproducible example at the end) alth

Re: [R-sig-Geo] vgmST parameters

2017-09-26 Thread Dr . Benedikt Gräler
Admittedly, the choice of the initial parameter is not an easy task. Different models combine the components in a different way. In the separable model for instance, the spatial and temporal variogram are set to a joint sill of 1 each where the sill of the entire variogram is a separate paramet