[R] Dataframes of marginal summaries

Thomas Lumley tlumley at u.washington.edu
Sat Oct 25 00:53:57 CEST 2003


On Fri, 24 Oct 2003, Andrew Robinson wrote:

> Hi dear R-community,
>
> I wonder if anyone has written code that will post-process the results of a
> tapply to create a dataframe that includes the outcome, the factor by which
> the function has been applied, and, if the factor is also an interaction,
> then also the levels of contributing factors?

aggregate() is close to this.

	-thomas




More information about the R-help mailing list