I am currently trying to conduct a two-way ANOVA in R using bootstrapping. In the bootstrap function I am writing, I am running into an issue trying to call the coefficients in which to bootstrap. The model I'm dealing with currently is looking at two variables: EtOH treatment (3 levels) and specific axons (4 levels). My current function to view the coefficients is
summary.lm(lm(distance~treatment*axon)
but I get the following table:
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 1.35893 0.05247 25.901 < 2e-16 ***
treatmentChronic -0.60041 0.08109 -7.404 1.46e-12 ***
treatmentControl 0.13440 0.07002 1.919 0.0559 .
axonAxon 2 0.06613 0.07420 0.891 0.3735
axonAxon 3 0.19200 0.07420 2.588 0.0102 *
axonAxon 4 0.18240 0.07420 2.458 0.0146 *
treatmentChronic:axonAxon 2 -0.03650 0.11468 -0.318 0.7505
treatmentControl:axonAxon 2 0.01220 0.09903 0.123 0.9020
treatmentChronic:axonAxon 3 -0.08533 0.11468 -0.744 0.4574
treatmentControl:axonAxon 3 -0.02033 0.09903 -0.205 0.8375
treatmentChronic:axonAxon 4 0.02501 0.11468 0.218 0.8275
treatmentControl:axonAxon 4 0.05260 0.09903 0.531 0.5957
As you can see, Axon 1 and Acute treatment, along with their interactions are missing. Is there anyway to resolve this so that the values may be called and bootstrapped?