Description Usage Arguments Value Examples
Create an RF RSF type model
1 | rf_mod(x, ras, basepath, ntree)
|
x |
output of rf_sampling |
ras |
raster stack of covars |
basepath |
base location to save to |
ntree |
number of trees to create in RF Model |
return |
logical, if TRUE, returns the predicted raster |
Predict spatial rf models
1 | system.time({ sampout<-lapply(d[1],rf_sampling,dat=df,nsamps=2,nt=5,maxnt=5,proj=dfproj,ras=nras) })
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.