jim holtman wrote:
> Try something like this (untested):
>
> Pvalues <- lapply(1:25, function(x)get(paste("A", i, sep=""))$p.value)
He probably wants to start one level earlier, with the X1, etc.
How about
nm <- paste("X", 1:9, sep="")
fml <- lapply(nm, function(nm)eval(bquote(.(as.name(nm))~t
Hello -
[EMAIL PROTECTED] wrote:
Hi all,
I am performing hundreds of kruskal wallis tests and trying to figure
out how to create a file of the p.values I obtain.
This is the code I use for the tests:
A2<-kruskal.test(X2~treatment)
A3<-kruskal.test(X3~treatment)
A4<-kruskal.test(X4~treatment)
Try something like this (untested):
Pvalues <- lapply(1:25, function(x)get(paste("A", i, sep=""))$p.value)
On Wed, Nov 12, 2008 at 11:15 AM, <[EMAIL PROTECTED]> wrote:
> Hi all,
> I am performing hundreds of kruskal wallis tests and trying to figure out
> how to create a file of the p.values I o
Hi all,
I am performing hundreds of kruskal wallis tests and trying to figure out
how to create a file of the p.values I obtain.
This is the code I use for the tests:
A2<-kruskal.test(X2~treatment)
A3<-kruskal.test(X3~treatment)
A4<-kruskal.test(X4~treatment)
A5<-kruskal.test(X5~treatment)
A6<
4 matches
Mail list logo