Originally we were thinking a one-way ANOVA, but it seems like I need to do a Two-way because I have two independent variables. The session (the time that the minnow trap samples were taken) and TRAP (the individual trap (four per hole to be averaged) for each alligator hole in each macrocosm. CPUE would be the dependent variable, and then the ID column.
SESSION TRAP CPUE ID One M1E1 3 1 One M1E2 0 2 One M1E3 0 3 One M1E4 2 4 One M1W1 0 5 One M1W2 0 6 One M1W3 0 7 One M1W4 0 8 One M2E1 0 9 One M2E2 0 10 One M2E3 0 11 One M2E4 0 12 One M2W1 0 13 One M2W2 1 14 One M2W3 1 15 One M2W4 0 16 One M3E1 5 17 One M3E2 2 18 One M3E3 0 19 One M3E4 3 20 One M3W1 0 21 One M3W2 0 22 One M3W3 0 23 One M3W4 2 24 One M4E1 0 25 One M4E2 1 26 One M4E3 0 27 One M4E4 0 28 One M4W1 0 29 One M4W2 0 30 One M4W3 0 31 One M4W4 8 32 Two M4E1 23 33 Two M4E2 5 34 Two M4E3 0 35 Two M4E4 10 36 Two M4W1 23 37 Two M4W2 7 38 Two M4W3 1 39 Two M4W4 7 40 Two M3E1 6 41 Two M3E2 3 42 Two M3E3 5 43 Two M3E4 10 44 Two M3W1 8 45 Two M3W2 0 46 Two M3W3 1 47 Two M3W4 5 48 Two M2E1 12 49 Two M2E2 15 50 Two M2E3 3 51 Two M2E4 10 52 Two M2W1 5 53 Two M2W2 11 54 Two M2W3 6 55 Two M2W4 4 56 Two M1E1 13 57 Two M1E2 19 58 Two M1E3 3 59 Two M1E4 30 60 Two M1W1 16 61 Two M1W2 2 62 Two M1W3 4 63 Two M1W4 27 64 Three M4E1 0 65 Three M4E2 26 66 Three M4E3 3 67 Three M4E4 13 68 Three M4W1 9 69 Three M4W2 0 70 Three M4W3 4 71 Three M4W4 2 72 Three M3E1 29 73 Three M3E2 0 74 Three M3E3 0 75 Three M3E4 11 76 Three M3W1 27 77 Three M3W2 5 78 Three M3W3 8 79 Three M3W4 3 80 Three M2E1 5 81 Three M2E2 11 82 Three M2E3 62 83 Three M2E4 31 84 Three M2W1 11 85 Three M2W2 1 86 Three M2W3 0 87 Three M2W4 9 88 Three M1E1 48 89 Three M1E2 78 90 Three M1E3 14 91 Three M1E4 7 92 Three M1W1 3 93 Three M1W2 63 94 Three M1W3 43 95 Three M1W4 31 96
I am using this command:
> output = ezANOVA(data = CSV.Repeated.Measures.ANOVA.Minnow._2cm.R.Data.Sheet, dv= CPUE, wid = ID, within = .(SESSION, TRAP), detailed = TRUE, type = 3)
I Get this error message:
Error in ezANOVA_main(data = data, dv = dv, wid = wid, within = within, : One or more cells is missing data. Try using ezDesign() to check your data.
I don't know what the exDesign() is trying to tell me either.