What is the difference between these two lines of codes?
varname1 <- cbind(df.name$var1, df.name$var2, df.name$var3)
varname2 <- cbind(df.name[1:3])
If I then try to use the next function I get an "invalid type (list) for variable "varname2".
This is the next function I try to use:
manova(varname ~ indepvar.snack+judge+rep,data = df.name)
So why does varname1 works and varname2 not?