Obtaining sample size for groups of interest using tapply

24 Views Asked by At

How can I modify the code below such that it returns the sample size for each group as well:

tapply(df$dt, df$group, summary)
0

There are 0 best solutions below