I hope you can help me.

In a nutshell I’ve got a dataset in excel of 82090 rows (numbered 1-82090) and 11 columns (group, channel 1 to 10).

I’m trying to separate the data into 892 x 92 rows (as 92 rows equals a 10 second time frame and 82090/92 = approx 892) of 11 columns. So that I have a matrix of row 1 to 92 with all columns, then another matrix of row 93 to 185 with all columns etc etc until I have covered all rows to 82090 but only 92 rows at a time.

Then run a linear discriminant analysis (LDA) analysis on each of the 892 separated data sets without doing an LDA on each of the 892 individually and have no idea how to do this or even where to start.

** I am a beginner with RStudio****