I don't know how to show you what my dataset looks like in code but this is what I made in excel and imported into R:
I am trying to run a two-way anova with this code:
`dfe8.1 <- read.table("e8.1.txt", header=T)
colnames(dfe8.1)
diet<-as.factor(dfe8.1$source)
cal_lev<-as.factor(dfe8.1$calories_rank)
response<-dfe8.1$calories
aovfit_e8.1<-aov(response~diet*cal_lev)
summary(aovfit_e8.1)`
output:
Why is there no F value or p-value?
Sorry for not showing data or output in code... I don't know how to do that in stack overflow.