Skip to content
Prev 309484 / 398506 Next

Mean Help

Many forms, but I'll recommend this one this time around:

aggregate(height ~ eyes, DATA, mean)

See ?aggregate for an explanation of what aggregate() does and
?formula for an explanation of the tilde syntax.

Note that this assumes your column names are "height" and "eyes."
Adjust as needed.

Michael
On Wed, Oct 31, 2012 at 1:18 PM, Hard Core <gioxc at hotmail.it> wrote: