Displaying 1 result from an estimated 1 matches for "erreur_pr".
Did you mean:
erreur_pred
2011 Mar 23
0
Rulefit with R and missing values
...uot;rulefit satisf
preop.txt",header=TRUE,dec=".",na.strings="?")
tt<-dim(satisf1)
ref<- array(1, dim=c(tt[1],tt[2]-1))
resp<- array(1, dim=c(tt[1],1))
for ( i in 1 : tt[1]) {
resp[i,1]=satisf1[i,tt[2]]
for (j in 1 : (tt[2]-1)) {
ref[i,j]=satisf1[i,j]
}
}
erreur_pred<-array(1, dim=c(tt[1],1))
rfmod = rulefit (ref,resp,rfmode="class")
Erreur dans if (xmiss <= bgstx) stop(paste("value of xmiss =", xmiss, "is
smaller than largest predictor variable value =", :
valeur manquante l? o? TRUE / FALSE est requis
--
View this...