To cite cosa in publications use:

Bulus, M. (2018). cosa: Constrained Optimal Sample Allocation. R package version 1.2.0. https://CRAN.R-project.org/package=cosa

Corresponding BibTeX entry:

  @Manual{,
    title = {{cosa}: Constrained Optimal Sample Allocation},
    author = {Metin Bulus},
    note = {R package version 1.2.0},
    year = {2018},
    url = {https://CRAN.R-project.org/package=cosa},
  }