[R] names of data.frame variables?
Martin Kaffanke
technik at roomandspace.com
Mon Mar 3 11:56:09 CET 2008
Hi there!
I'd like to make many tests and plots, for each variables.
i.E.
i <- 1
repeat {
print (t.test(e[i], f[i]))
i <- i + 1
if (i == 21) break
}
but the output is:
Welch Two Sample t-test
data: e[i] and f[i]
...
so I don't know which data was calculated.
Is there a way to tell the t.test or I'll make the same with plotmeans
(from the gplots library) but I'd like to have it like
t.text(e$angststoer, f$angststoer)
so I know what was calculated or plotted...
Any ideas?
Thanks,
Martin
--
Ihr Partner für Webdesign, Webapplikationen und Webspace.
http://www.roomandspace.com/
Martin Kaffanke +43 650 4514224
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : https://stat.ethz.ch/pipermail/r-help/attachments/20080303/caa239d0/attachment.bin
More information about the R-help
mailing list