rf | R Documentation |
Apply random forest classification
rf(coef, ntree = 10000, ...)
coef |
A matrix of model coefficient (from function ind_coef) |
A proximity matrix
data(goats)
ls1<-list()
ls1[[1]]<-as.formula(STATUS~ELEVATION+SLOPE+ET+ASPECT+HLI+TASP)
ls1[[2]]<-as.formula(STATUS~ET+ASPECT+HLI+TASP)
out<-rsf_ind(goats$ID, data=goats, form_ls=ls1)
coef<-ind_coef(m=1, out)
prox<-rf(coef)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.