Displaying 2 results from an estimated 2 matches for "int1u".
Did you mean:
int16
2012 Sep 10
0
predict pixels of raster using caret-derived models
Is it somehow possible to use the the predict method of the raster package
with a prediction model obtained using caret's train()?
/
predict(rasterStack, carettrain, filename="...", progress='text',
format="BSQ",
datatype='INT1U', type='response', overwrite=TRUE) /
Thank you
--
View this message in context: http://r.789695.n4.nabble.com/predict-pixels-of-raster-using-caret-derived-models-tp4642704.html
Sent from the R help mailing list archive at Nabble.com.
2010 Oct 06
1
R getting slower until it breaks...
...onction 1b - Faire le tiff
make.tiff<- function(NV=newValues,TT=Type,img=imgRaster,nom){
pixelNDVIMatrix <- calculate_NDVI(TT,img,NV[c(1,2,3)])
newRaster <- raster(pixelNDVIMatrix)
NAvalue(newRaster)<-999999
nnom<-nom[NV[4]]
writeRaster(newRaster, filename=nnom,datatype="INT1U",format="GTiff",overwrite=FALSE)
aaa<-2
}
#################################################################################
## Fonction 2 - Creation de fonction convertissant les coordonnee metrique en coordonnee pixels #####
latlong_to_pixels<- function(Coord, facteur...