Dear colleagues,
I have the results of a numerical experiment on larval transport.
I want to test which factor(s) hold(s) influence on larval transport. In my case, the response variable is the percentage of successfully transported larvae ("transport_success")
Thus, by the end of the day, I need a factorial ezANOVA Table that should look like this:
area (three hatching areas) # factor
month (varying from January to December) # factor
year (varying from 2002 to 2010) # factor
transport (transport type, two levels: "Lagrangian" and "vertical migration") # factor
area x transport
month x transport # the interactions I am interested in
year x transport
From what I learned, my script should look like more or less this
larva_anova <-rt_anova = ezANOVA(
data = data # my dataset
, dv = transport_success # my dependent variable
, wid = ??
, within = .(area,month, year) # my factors (one spatial, two temporal)
, between = transport # here I understand that transport type corresponds to my treatment (Lagrangian = control, vertical migration = treatment)
)
My doubt rests on the "wid" argument. I am having difficulty in which factor I must use here to get the Table I posted above.
Any help will be greatly appreciated!
Rodrigo