The way bootstrapping works, it wouldn't make sense to try to submit the bootstrap samples to an ANOVA. You should instead simply use the ezPlot2 to visualize (or get a table, using "do_plot=F") the the data and any differences you're interested in (using the "diff" argument to ezPlot2):
# Compute the bootstrap samples ----
bootstrap = ezBoot(
data = vocalising
, dv = VocalisingFreq
, within = .(Hour,Condition)
, wid = Dog
, resample_within = FALSE
)
# Look at the main effect of Hour ----
#first a plot of the two levels
ezPlot2(
preds = bootstrap
, x = Hour
)
#now a table of the difference
ezPlot2(
preds = bootstrap
, diff = Hour
, do_plot = FALSE
)
# Look at the main effect of Condition ----
#first a plot of the four levels
ezPlot2(
preds = bootstrap
, x = Condition
)
#now a table for the difference between the first two levels
ezPlot2(
preds = bootstrap
, diff = Condition
, do_plot = FALSE
)
#compare the 2nd & 3rd levels
ezPlot2(
preds = bootstrap
, diff = Condition
, do_plot = FALSE
, levels = list(
Condition = list(
new_order = levels(bootstrap$cells$Condition)[2,3,4,1]
)
)
)
#etc for all comparisons
# Look at the Hour X Condition interaction
#first a plot of the 2x4 cells
ezPlot2(
preds = bootstrap
, x = Condition
, split = Hour
)
#Now a plot of the Hour effect at each level of Condition
#first a plot of the 2x4 cells
ezPlot2(
preds = bootstrap
, x = Condition
, diff = Hour
)
#compare the first two levels of Condition on their Hour effect
ezPlot2(
preds = bootstrap
, diff = .(Hour,Condition)
, do_plot = FALSE
)
#compare the 2nd & 3rd levels of Condition on their Hour effect
ezPlot2(
preds = bootstrap
, diff = .(Hour,Condition)
, do_plot = FALSE
, levels = list(
Condition = list(
new_order = levels(bootstrap$cells$Condition)[2,3,4,1]
)
)
)
#etc for all comparisons
By the way, if you're advanced enough to be considering bootstrap analyses, I suggest you look at Bayesian methods instead. I've personally switched over to the Bayesian approach completely, using the package rstan. You can easily implement models that have non-normal error, robustness to outliers, etc.