To cite cosa in publications use:

Bulus M, Dong N (2021). cosa: Bound Constrained Optimal Sample Size Allocation. R package version 2.1.0, https://CRAN.R-project.org/package=cosa.

Corresponding BibTeX entry:

  @Manual{,
    title = {{cosa}: Bound Constrained Optimal Sample Size Allocation},
    author = {Metin Bulus and Nianbo Dong},
    note = {R package version 2.1.0},
    year = {2021},
    url = {https://CRAN.R-project.org/package=cosa},
  }