In SQL I can get a count using group by like this:
select
  column1,
  column2,
  column3,
  count(*)
from
  table
group by
  column1,
  column2,
  column3;
How is this done in R? I have a dataframe with the ungrouped data.
UPDATE
I eventually got this to work via:
grouped_data <- aggregate(data, by=list(data$column1, data$column2, data$column3), FUN=length);
