Hello R People:

I have a data frame with 2 numeric variables and 1 factor.

There are 3 levels of the factor.

I would like to get sums/means/etc of the numeric variables with respect to the factor level.

I tried "table" and "subset" but have not hit upon a solution.

I thought maybe "apply" would be the answer but can't figure out how to break out by factor.

Any suggestions would be most appreciated.

Thanks yet again.
R Version 1.9.1 for windows
Sincerely,
Laura Holt
mailto: [EMAIL PROTECTED]


your life. http://lifeevents.msn.com

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to