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 ran into the same cryptic error message in R, though in my case it was resolved when I applied the 'as.matrix' function to what was originally a dataframe for the CSV file I imported in using the read.csv() function.
I also had a missing data point in my original data set, and I found that when my data was transformed into a matrix for the friedman.test() call, the entire row containing the missing data point was omitted automatically.