Dear Members of the R-Help,
While using a R function - 'aggregate' that you developed, I become to have a
question.
In that function,
> aggregate(x, by, FUN, ..., simplify = TRUE)
I was wondering about what type of FUN I should write if I want to get "the
most frequent value of the subgroup" as a summary statistics of the subgroups.
I will appreciate if I can get your idea on this issue.
Many thanks,
Jason Jung.
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.