I\'m having trouble running a Friedman test over my data. I\'m trying to run a Friedman test using this command:
friedman.test(mean ~ isi | expId, data=monoS
I know this is pretty old but for future generations (see also: me when I forget and google this again):
You can determine what the missing values are in your dataframe by running table(groups, blocks)
or in the case of this question table(monoSum$isi, monoSum$expID)
. This will return a table of 0s and 1s. This missing records are in the the cells with 0s.
I ran into this problem after trying to remove the blocks that had incomplete results; taking a subset of the data did not remove the blocks for some reason.