Hello,
I work with R. I have a data frame with 100 rows and 25 columns. Rows are cells and columns parameters (e.g size of cells, weight, ...). I created three groups based on the size (small, medium, large) with equivalent number of cells in each group(33,33,34). The idea in then to run an ANOVA on cell parameters according to the categorical grouping.
Then I want to create three groups with similar number of cells but with equivalent means and sd for each group. I could write a script to randomly split data into three groups and compare means and sd until I reach a minimal difference, but I wonder if such an algorithm already exists in R. I read things on partition but I did not well understand.
Thanks in advance