search for: predict_trafo

Displaying 1 result from an estimated 1 matches for "predict_trafo".

2013 Jan 11
0
Error with looping through a list of strings as variables
...bles in a for loop to run multiple random forests with little success. The current code returns the following error: Error in trafo(data = data, numeric_trafo = numeric_trafo, factor_trafo = factor_trafo, : data class character is not supported In addition: Warning message: In storage.mode(RET@predict_trafo) <- "double" : NAs introduced by coercion The code runs fine with the data before I add the > for (h in varlist){ loop. Loops i, k work without issue as long as I manually enter the response variable into the code below for h. Using R 2.15.0 (64bit), with cforest from the "...