I'm trying to find the least square mean of "post"
by "group"
. Values of "group"
are "TEST"
or "CONTROL"
.
mixed_data <- data.frame(group, pre, post)
mixed_lm <- lm(post ~ group + pre, data=mixed_data)
mixed_lsmean <- lsmeans(mixed_lm, "group")
But I received this error and don't understand why:
Error in format.default(nm[j], width = nchar(m[1, j]), just = "left") :
4 arguments passed to .Internal(nchar) which requires 3
Any idea?