This is part 1 of examples for sample size calculations using R for generalized linear mixed models. This is part of a training module of the Biostatistics, Epidemiology, and Research Design Core (BERDC) for the DaCCoTA project.