[R] Rotation Forest Error Message

Sparks, John j@p@rk4 @end|ng |rom u|c@edu
Fri Aug 21 03:06:16 CEST 2020


Hi R Helpers,

I wanted to try the rotationForest package.

I pointed it at my data set and got the error message "Error in if (K >= ncol(x)) stop("K should not be greater than or equal to the number of columns in x") :
  argument is of length zero'.

My dataset has 3688 obs. of  111 variables.

Would a quick adjustment to the default value of K resolve this?

If anybody with more experience with the package than me has a general suggestion I would appreciate it.

--John Spaarks


	[[alternative HTML version deleted]]



More information about the R-help mailing list