Hi,

how can I tell 'summary' to print the name of the summarised variable? This is probably an awkward newbie question but I didn't find an answer in the Docus, the FAQ and maillist archive.
I want a summary for about 250 variables and realise it the following way (I know, that I shouldn't use iterations that way in R; but at the moment it's the easiest way for me):


for(i in fb.12.unt[varA1:varZ9]){print (summary(i, na.rm=t))}

It works fine, but I don't know which summary corresponds to which variable, because the variable names are not printed. Can somebody give me a hint?

TIA

Regards,

Christoph
--
Christoph Bier, Dipl.Oecotroph., Email: [EMAIL PROTECTED]
Universitaet Kassel, FG Oekologische Lebensmittelqualitaet und
Ernaehrungskultur \\ Postfach 12 52 \\ 37202 Witzenhausen
Tel.: +49 (0) 55 42 / 98 -17 21, Fax: -17 13

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to