Question: I would like to do an ANOVA test on iris dataset, should use 'Species' as Dependent variable. outfree[,2] = as.numeric(outfree[,2]) #outfree1 = outfree[, -1] iris2=melt(outfree,id=Species)
I would like to do an ANOVA test on iris dataset, should use 'Species' as Dependent variable.
outfree[,2] = as.numeric(outfree[,2])
#outfree1 = outfree[, -1]
iris2=melt(outfree,id="Species")
iris2$partno=1:nrow(iris2)
iris2$variable = as.factor(iris2$variable)
options(scipen = 999)
ezANOVA(data=iris2,
dv=Species,
between=variable,
wid=partno,
type=3,
detailed=T)
when i execute this code, it returns F value as o which shouldn't be the case. Help me
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
