Skip to content
Back to formatted view

Raw Message

Message-ID: <DM5PR13MB1161006F7A448E310BE01244FA5B0@DM5PR13MB1161.namprd13.prod.outlook.com>
Date: 2020-08-21T01:06:16Z
From: Sparks, John
Subject: Rotation Forest Error Message

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]]