[R-sig-Geo] (no subject)

Robert Hijmans r.hijmans at gmail.com
Tue Jan 11 06:51:01 CET 2011


Giuseppe, 

You can also have a look at the 'dismo' package for species distribution
modeling.  The vignette (under development) has a brief example with
randomForest.

To apply weights in randomForest (I have not tried this and could very well
be wrong), you can perhaps use regression rather than classification (in my
experience randomForest regression works much better in this context) and
adjust your presence/absence data based on certainty (highly certain absence
= -1, highly certain presence = 1, everything else scaled in between). 

A perhpas better alternative would be to use the cforest function (another
random forest implementation) in 'party', because this function has a
weights argument.

Robert

-- 
View this message in context: http://r-sig-geo.2731867.n2.nabble.com/no-subject-tp5907876p5909773.html
Sent from the R-sig-geo mailing list archive at Nabble.com.



More information about the R-sig-Geo mailing list