Displaying 1 result from an estimated 1 matches for "lemonentrance".
2013 Feb 13
1
Error Message During ANOVA
Dear R-Help,
I'm using an ANOVA to determine if there is any variation that exists
between my four different shark-types and their entrance behavior towards
an apparatus.
To do this, my coding was:
df1=read.table("lemonentrance.txt", header=TRUE); df1
c(t(as.matrix(df1)))
r = c(t(as.matrix(df1))) # response data
r
f=c("Con","Bro","OEy","Bli")
k=4
n=6
tm=gl(k,1,n*k,factor(f))
tm
av=aov(r~tm)
Error in model.frame.default(formula = r ~ tm, drop.unused.levels = TRUE) :...