Displaying 1 result from an estimated 1 matches for "puthere".
Did you mean:
outhere
2013 Jan 11
0
Error with looping through a list of strings as variables
...which results in the same start-up errors. Once these
start-up errors are resolved there should be a "(data, ...) : fraction of
0.000000 is too small" error will be seen which is simply due to the
small substitute data set and of no concern.
rm(list=ls())
library(party)
library(reshape)
puthere <- c("TEST_RESULTS.csv")
hsb2 <- read.csv("http://www.ats.ucla.edu/stat/data/hsb2.csv")
names(hsb2)
set.seed(8296)
ctrl <- cforest_unbiased(ntree=500, mtry=2)
varlist <- names(hsb2)[3:4]
for (h in varlist){
for (k in c(1,0)){
for (i in c(1,2)){ ## Data subset
filter...