Skip to content
Prev 349975 / 398506 Next

: automated levene test and other tests for variable datasets

You ask quite a lot of questions, I have given some hints about your 
first example inline
On 14/04/2015 09:07, Joachim Audenaert wrote:
Usually best to avoid this and use the data=parameter or with or within
you could use unlist( ) here
you can get the lengths which you need with
lengtha <- lapply(dataset, length)
or
lengths <- sapply(dataset, length)
depending

then
rep(letters[1:length(lengths)], lengths)
should get you the group variable you want.


I have just typed all those in so there may be typos but at least you 
know where to look. I am not suggesting that I think automating all 
statistical analyses is necessarily a good idea either.