--
You received this message because you are subscribed to the Google Groups "StatForLing with R" group.
To unsubscribe from this group and stop receiving emails from it, send an email to statforling-wit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks Martin, that is exactly the package I was using (and there's a new one, WRS2, that is now under development, too).
Best
STG
--
Stefan Th. Gries
----------------------------------
Univ. of California, Santa Barbara
http://tinyurl.com/stgries
----------------------------------
To unsubscribe from this group and stop receiving emails from it, send an email to statforling-with-r+unsub...@googlegroups.com.
t2way(3,2, DATA_WIDE, tr = .2)Error in `[[<-.data.frame`(`*tmp*`, grp[i], value = c(4L, 3L, 6L, 12L, : replacement has 961 rows, data has 1615t2way(NP_SMALL$LENGTH_NP_TOTAL ~ NP_SMALL$VAR * NP_SMALL$TEXT_CLASS, tr = .2)
Best
Thomas
Thanks, Stefan, for getting back to me so quickly.
Just a quick update: I've succeeded in getting t2way() to work on my data. What did the trick, though, was not adding NAs to the shorter vectors, but, in fact, getting rid of them. I just deleted all NAs from the (wide) list using the following line of code:
DATA_WIDE_CLEAN <- lapply(DATA_WIDE, na.exclude)Ever since then the robust ANOVAs have run like clockwork – what a useful test, thanks so much for putting me to it! Obviously, t2way() doesn't mind differing lengths of input vectors as long as there are no NAs (Stefan's wide data frame created in the previous post, incidentally, doesn't contain NAs either – as far as I can see, they get lost during the transformation from long to wide format).
Best
Thomas