I have a huge data-set of a thesis experiment that needed 15 days to collect. The Experiment is repeated 15 times. I wanted to run friedman_test to check whether my data was statistically different or not. I used the following code snipet
Data <- read.csv(file = 'myR/statistics.csv')
Data %>% group_by(algorithm) %>% get_summary_stats(MutationScore, type = "common")
res.fried <- Data %>% friedman_test(MutationScore ~ algorithm |CUT)
My data is of the following shape,
As you can see,the experiment was repeated. The green is the first run and the yellow is the second run.
When I try to run the above R code, I got the following error Exception: not an unreplicated complete block design
I read on stack overflow that my data could be invalid, or I need to use the matrix. However, I am very new to R and was stuck in this for a week. I could not help it out.
So, how can I ignore the invalid rows ? and How I can fix my friedman_test issue ?
I appreciate your help.
Thanks Hadi