I am suggesting a slight change to the infJack() function to allow using
the randomForestInfJack() for a single observation. The original version
gives me an error "Error in rowMeans(pred) : 'x' must be an array of at
least two dimensions", if test data contains only one row.
I am suggesting a slight change to the infJack() function to allow using the randomForestInfJack() for a single observation. The original version gives me an error "Error in rowMeans(pred) : 'x' must be an array of at least two dimensions", if test data contains only one row.