[Qgis-user] Run R RandomForest classification Script using Sextante
geantsverts
clardeux at yahoo.fr
Sat Feb 16 09:05:09 PST 2013
Hello,
I have discovered the very good R random forest classification script
(http://biodiversityinformatics.amnh.org/file.php?file_id=628) which compute
Random forest classification base on raster and Shape file.
It works very well.
In order to have better human interface, I would like to run it with
Sextante plugin.
However, the Sextante R script seems to be slightly different than original
R script and I don't no how to adapt it.
In particular, raster is originaly reading using this line where "inImage"
is raster path and then there is a loop.
satImage <- stack(inImage)
for (b in 1:nlayers(satImage)) { NAvalue(satImage at layers[[b]]) <- nd }
Then when I call it in sextante the loop does'not work.
I think that it's due to the fact Sextante load raster in an other thing
than R...
Could you help me ?
May be someone have adapted this R script to sextante :D ?
Thanks in advance !
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Run-R-RandomForest-classification-Script-using-Sextante-tp5034709.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
More information about the Qgis-user
mailing list