Re: [R] Rotation Forest Error Message

2020-08-21 Thread Sparks, John
Sparks, John ; R-help Subject: Re: [R] Rotation Forest Error Message On 2020-08-21 16:22 +1200, Abby Spurdle wrote: | On Fri, Aug 21, 2020 at 4:16 PM Abby Spurdle wrote: | | On Fri, Aug 21, 2020 at 1:06 PM Sparks, John wrote: | | | | | | Hi R Helpers, | | | | | | I wanted to try the rotationFor

Re: [R] Rotation Forest Error Message

2020-08-21 Thread Rasmus Liland
On 2020-08-21 16:22 +1200, Abby Spurdle wrote: | On Fri, Aug 21, 2020 at 4:16 PM Abby Spurdle wrote: | | On Fri, Aug 21, 2020 at 1:06 PM Sparks, John wrote: | | | | | | Hi R Helpers, | | | | | | I wanted to try the rotationForest | | | package. | | | | | | I pointed it at my data set and | | |

Re: [R] Rotation Forest Error Message

2020-08-20 Thread Abby Spurdle
Just re-read your question and realized I misread the error message. The argument is of zero length. But the conclusion is the same, either a bug in the package, or a problem with your input. On Fri, Aug 21, 2020 at 4:16 PM Abby Spurdle wrote: > > Note that I'm not familiar with this package or

Re: [R] Rotation Forest Error Message

2020-08-20 Thread Abby Spurdle
Note that I'm not familiar with this package or the method. Also note that you haven't told anyone what function you're using, or what your call was. I'm assuming that you're using the rotationForest() function. According to its help page, the default is: K = round(ncol(x)/3, 0) There's no r

[R] Rotation Forest Error Message

2020-08-20 Thread Sparks, John
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.