[R] svm with GRASS GIS

etiennebr etiennebr at gmail.com
Sun Feb 26 20:48:43 CET 2012


I usually use a rasterLayer object (from raster package) instead of a
SpatialGridDataFrame, but you probably just have to bind it to your data :
TL_training_2006_id.raw at data$prediction <- pred
This will create a band in which you have your predictions. raster package
doesn't handle the factors, so you have to use as.integer(), but it is
probably the same.

--
View this message in context: http://r.789695.n4.nabble.com/svm-with-GRASS-GIS-tp4388006p4422787.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list