I want to do the calculation of the sample size but for each group separately. Sample of my data.
mydat=structure(list(birch.height = c(41L, 28L, 38L, 24L, 38