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)
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)