Skip to content
Prev 350026 / 398506 Next

: automated levene test and other tests for variable datasets

Hello Michael,

thank you for the reply, it realy helped me to simplify my script. 
Basically all my questions are a bit the same, but with your hint I could 
solve most of my problems. 

Met vriendelijke groeten - With kind regards,

Joachim Audenaert 
onderzoeker gewasbescherming - crop protection researcher

PCS | proefcentrum voor sierteelt - ornamental plant research

Schaessestraat 18, 9070 Destelbergen, Belgi?
T: +32 (0)9 353 94 71 | F: +32 (0)9 353 94 95
E: joachim.audenaert at pcsierteelt.be | W: www.pcsierteelt.be 



From:   Michael Dewey <lists at dewey.myzen.co.uk>
To:     Joachim Audenaert <Joachim.Audenaert at pcsierteelt.be>, 
r-help at r-project.org
Date:   14/04/2015 18:17
Subject:        Re: [R] : 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:
many
A,
=
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.
it
line
my
the
green,
http://www.R-project.org/posting-guide.html